mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 14:18:37 +00:00
properly translate class, read (i want my trains back), I'm told this will require regression testing for at least loom and zak by ender
svn-id: r5481
This commit is contained in:
parent
d21e0a3373
commit
18506e7714
@ -38,6 +38,8 @@ bool Scumm::getClass(int obj, int cls)
|
||||
|
||||
if (cls == 32) // CLASS_TOUCHABLE
|
||||
cls = 24;
|
||||
if (cls == 22)
|
||||
cls = 21;
|
||||
}
|
||||
return (_classData[obj] & (1 << (cls - 1))) != 0;
|
||||
}
|
||||
@ -55,6 +57,8 @@ void Scumm::putClass(int obj, int cls, bool set)
|
||||
|
||||
if (cls == 32) // CLASS_TOUCHABLE
|
||||
cls = 24;
|
||||
if (cls == 22)
|
||||
cls = 21;
|
||||
}
|
||||
|
||||
if (set)
|
||||
|
Loading…
Reference in New Issue
Block a user