aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v5.cpp
diff options
context:
space:
mode:
authorMax Horn2003-04-13 21:29:44 +0000
committerMax Horn2003-04-13 21:29:44 +0000
commit1623dee298a3e96911ac2ab178958e69e97a72d6 (patch)
tree5423ee38f9ba372464c491956b0cd7b57541aa30 /scumm/script_v5.cpp
parent9290218e4f927fe468ce796ec8dfe609bf020631 (diff)
downloadscummvm-rg350-1623dee298a3e96911ac2ab178958e69e97a72d6.tar.gz
scummvm-rg350-1623dee298a3e96911ac2ab178958e69e97a72d6.tar.bz2
scummvm-rg350-1623dee298a3e96911ac2ab178958e69e97a72d6.zip
this seems to be needed for loomdemo (and loom?), too
svn-id: r7008
Diffstat (limited to 'scumm/script_v5.cpp')
-rw-r--r--scumm/script_v5.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp
index 37371627ed..f92df12306 100644
--- a/scumm/script_v5.cpp
+++ b/scumm/script_v5.cpp
@@ -954,7 +954,7 @@ void Scumm_v5::o5_getActorScale() {
return;
// INDY3 uses this opcode as a wait_for_actor();
- if ((_gameId == GID_INDY3_256) || (_gameId == GID_INDY3)) {
+ if ((_gameId == GID_INDY3_256) || (_features & GF_OLD_BUNDLE)) {
byte *oldaddr = _scriptPointer - 1;
if (derefActorSafe(getVarOrDirectByte(0x80), "o5_wait")->moving) {
_scriptPointer = oldaddr;
@@ -2252,7 +2252,7 @@ void Scumm_v5::o5_wait() {
oldaddr = _scriptPointer - 1;
- if ((_gameId == GID_INDY3_256) || (_gameId == GID_INDY3)) {
+ if ((_gameId == GID_INDY3_256) || (_features & GF_OLD_BUNDLE)) {
_opcode = 2;
} else
_opcode = fetchScriptByte();