cleanup: moved some things to gfx.cpp and changed o60_setState to match disassembly of version 72

svn-id: r15578
This commit is contained in:
Gregory Montoir 2004-10-17 05:04:49 +00:00
parent 3905129a97
commit 0765435c44
5 changed files with 33 additions and 43 deletions

View file

@ -405,11 +405,15 @@ void ScummEngine_v60he::o60_setState() {
int state = pop();
int obj = pop();
if (_heversion >= 72) {
putState(obj, state & 0x7FFF);
removeObjectFromDrawQue(obj);
return;
}
if (state & 0x8000) {
state &= 0x7FFF;
putState(obj, state);
if (_heversion >= 72)
removeObjectFromDrawQue(obj);
return;
}