diff options
author | Travis Howell | 2005-10-29 04:52:26 +0000 |
---|---|---|
committer | Travis Howell | 2005-10-29 04:52:26 +0000 |
commit | a47cc783e47b8153dea8fa33140805ff1ee3f32b (patch) | |
tree | ba40379d4ab56ec7e1b8199f658bf50f9a254423 | |
parent | 9845fab51b2e58075d2b3c8a614147b50f68c362 (diff) | |
download | scummvm-rg350-a47cc783e47b8153dea8fa33140805ff1ee3f32b.tar.gz scummvm-rg350-a47cc783e47b8153dea8fa33140805ff1ee3f32b.tar.bz2 scummvm-rg350-a47cc783e47b8153dea8fa33140805ff1ee3f32b.zip |
Only applies to SCUMM 3/4.
Fixes mask issues when lifting crate in airport.
Fixes masking issues in digdemo (Bug #1288652).
svn-id: r19360
-rw-r--r-- | scumm/object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp index 1ed1b88655..2212f23e88 100644 --- a/scumm/object.cpp +++ b/scumm/object.cpp @@ -110,7 +110,7 @@ void ScummEngine::putClass(int obj, int cls, bool set) { else _classData[obj] &= ~(1 << (cls - 1)); - if (1 <= obj && obj < _numActors) { + if (_version <= 4 && obj >= 1 && obj < _numActors) { _actors[obj].classChanged(cls, set); } } |