Walkaround for the late indy4 bug. But still impossible to finish

svn-id: r3573
This commit is contained in:
Vincent Hamm 2002-02-13 09:17:26 +00:00
parent 60fd1db9c5
commit 14461c718b

View File

@ -874,8 +874,12 @@ void Scumm::o5_getActorMoving() {
}
void Scumm::o5_getActorRoom() {
int temp;
getResultPos();
setResult(derefActorSafe(getVarOrDirectByte(0x80),"o5_getActorRoom")->room);
temp=getVarOrDirectByte(0x80);
if(temp>30 && _gameId==GID_INDY4)
temp=1;
setResult(derefActorSafe(temp,"o5_getActorRoom")->room);
}
void Scumm::o5_getActorScale() {