aboutsummaryrefslogtreecommitdiff
path: root/script_v1.cpp
diff options
context:
space:
mode:
authorJames Brown2002-04-26 02:53:40 +0000
committerJames Brown2002-04-26 02:53:40 +0000
commitb065d233d1cceec5de5a9afbd9ce28fe6143f09c (patch)
tree516323aff03b5a4c0b426e2514171bf7f70253d9 /script_v1.cpp
parentce464ac7e4e7f5325e990764de6ad49e55cd87c4 (diff)
downloadscummvm-rg350-b065d233d1cceec5de5a9afbd9ce28fe6143f09c.tar.gz
scummvm-rg350-b065d233d1cceec5de5a9afbd9ce28fe6143f09c.tar.bz2
scummvm-rg350-b065d233d1cceec5de5a9afbd9ce28fe6143f09c.zip
Commit MI1/Indy4/etc crash fix :)
svn-id: r4081
Diffstat (limited to 'script_v1.cpp')
-rw-r--r--script_v1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/script_v1.cpp b/script_v1.cpp
index 4b0b0c711e..60919544fa 100644
--- a/script_v1.cpp
+++ b/script_v1.cpp
@@ -778,7 +778,7 @@ void Scumm::o5_actorSet()
a->width = getVarOrDirectByte(0x80);
break;
case 17: /* scale */
- if (_gameId & GID_MONKEY_VGA) {
+ if (_gameId == GID_MONKEY_VGA) {
a->scalex = a->scaley = getVarOrDirectByte(0x80);
} else {
a->scalex = getVarOrDirectByte(0x80);