mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 13:42:02 +00:00
confine dodgy hack in indy3 that should probably be removed
svn-id: r5515
This commit is contained in:
parent
36309567c3
commit
54a5c1fb3a
@ -39,7 +39,7 @@ bool Scumm::getClass(int obj, int cls)
|
|||||||
if (cls == 32) // CLASS_TOUCHABLE
|
if (cls == 32) // CLASS_TOUCHABLE
|
||||||
cls = 24;
|
cls = 24;
|
||||||
|
|
||||||
if (_gameId == GID_INDY3_256 && cls == 22) // Masking fix for Indy3
|
if (_gameId == GID_INDY3_256 && cls == 22 && _currentRoom == 76) // Masking fix for Indy3
|
||||||
cls = 21;
|
cls = 21;
|
||||||
}
|
}
|
||||||
return (_classData[obj] & (1 << (cls - 1))) != 0;
|
return (_classData[obj] & (1 << (cls - 1))) != 0;
|
||||||
@ -59,7 +59,7 @@ void Scumm::putClass(int obj, int cls, bool set)
|
|||||||
if (cls == 32) // CLASS_TOUCHABLE
|
if (cls == 32) // CLASS_TOUCHABLE
|
||||||
cls = 24;
|
cls = 24;
|
||||||
|
|
||||||
if (_gameId == GID_INDY3_256 && cls == 22) // Masking fix for Indy3
|
if (_gameId == GID_INDY3_256 && cls == 22 && _currentRoom == 76) // Masking fix for Indy3
|
||||||
cls = 21;
|
cls = 21;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user