Simpler check, since VAR_NEW_ROOM is no longer set in small header games.

svn-id: r17764
This commit is contained in:
Travis Howell 2005-04-23 09:53:56 +00:00
parent 789007ec67
commit cc526f0a01

View File

@ -68,14 +68,14 @@ void ScummEngine::startScene(int room, Actor *a, int objectNr) {
}
}
if (!(_features & GF_SMALL_HEADER) && VAR_NEW_ROOM != 0xFF) // Disable for SH games. Overwrites
VAR(VAR_NEW_ROOM) = room; // gamevars, eg Zak cashcards
if (VAR_NEW_ROOM != 0xFF)
VAR(VAR_NEW_ROOM) = room;
runExitScript();
killScriptsAndResources();
clearEnqueue();
if (_version >= 4 && _heversion <= 60)
if (_version >= 4 && _heversion <= 61)
stopCycle(0);
_sound->processSoundQues();