diff options
author | Travis Howell | 2003-09-11 09:12:24 +0000 |
---|---|---|
committer | Travis Howell | 2003-09-11 09:12:24 +0000 |
commit | 651978bb926cc85bdb4dbdfb64d59ad55a454b72 (patch) | |
tree | c0d94d7ee6d69fc3e57be48224f8866717034276 | |
parent | 232c050f73059422573d5776fd31571f003cb899 (diff) | |
download | scummvm-rg350-651978bb926cc85bdb4dbdfb64d59ad55a454b72.tar.gz scummvm-rg350-651978bb926cc85bdb4dbdfb64d59ad55a454b72.tar.bz2 scummvm-rg350-651978bb926cc85bdb4dbdfb64d59ad55a454b72.zip |
A few if check fixes from Hibernatus, which were checked against disasm. of related games.
svn-id: r10166
-rw-r--r-- | scumm/script_v5.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp index ef939b7b2d..7c7cb643a3 100644 --- a/scumm/script_v5.cpp +++ b/scumm/script_v5.cpp @@ -491,7 +491,7 @@ void Scumm_v5::o5_actorSet() { a->width = getVarOrDirectByte(0x80); break; case 17: /* scale */ - if ((_gameId == GID_MONKEY_VGA) || (_gameId == GID_MONKEY_EGA) || (_gameId == GID_PASS)) { + if (_version == 4) { a->scalex = a->scaley = getVarOrDirectByte(0x80); } else { a->scalex = getVarOrDirectByte(0x80); @@ -686,7 +686,7 @@ void Scumm_v5::o5_cursorCommand() { initCharset(getVarOrDirectByte(0x80)); break; case 14: /* unk */ - if (_gameId == GID_LOOM || _gameId == GID_INDY3) { + if (_version == 3) { /*int a = */ getVarOrDirectByte(0x80); /*int b = */ getVarOrDirectByte(0x40); // This is some kind of "init charset" opcode. However, we don't have to do anything |