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:
Jonathan Gray 2002-11-10 09:14:20 +00:00
parent d21e0a3373
commit 18506e7714

View File

@ -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)