[Scummvm-git-logs] scummvm master -> dffa1971c8fb932939ffafe5e8ed53549ebf6992
dreammaster
dreammaster at scummvm.org
Sun Aug 29 19:04:08 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
dffa1971c8 CRUISE: Hack to start end credits promptly after The End shows
Commit: dffa1971c8fb932939ffafe5e8ed53549ebf6992
https://github.com/scummvm/scummvm/commit/dffa1971c8fb932939ffafe5e8ed53549ebf6992
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2021-08-29T12:03:58-07:00
Commit Message:
CRUISE: Hack to start end credits promptly after The End shows
Changed paths:
engines/cruise/script.cpp
diff --git a/engines/cruise/script.cpp b/engines/cruise/script.cpp
index f4593a1d36..4eb6467cf5 100644
--- a/engines/cruise/script.cpp
+++ b/engines/cruise/script.cpp
@@ -597,6 +597,15 @@ int executeScripts(scriptInstanceStruct *ptr) {
currentScriptPtr->scriptOffset = 923;
}
#endif
+ // FIXME: Delay for starting end credits is too long.
+ // Fix it for now, but game rates really need looking into
+ if (currentScriptPtr->overlayNumber == 71 &&
+ currentScriptPtr->scriptOffset == 1884 &&
+ positionInStack == 1) {
+ popVar();
+ pushVar(50);
+ }
+
opcodeType = getByteFromScript();
debugC(5, kCruiseDebugScript, "Script %s/%d ip=%d opcode=%d",
More information about the Scummvm-git-logs
mailing list