aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v5.cpp
diff options
context:
space:
mode:
authorTravis Howell2003-09-11 09:12:24 +0000
committerTravis Howell2003-09-11 09:12:24 +0000
commit651978bb926cc85bdb4dbdfb64d59ad55a454b72 (patch)
treec0d94d7ee6d69fc3e57be48224f8866717034276 /scumm/script_v5.cpp
parent232c050f73059422573d5776fd31571f003cb899 (diff)
downloadscummvm-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
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 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