mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 14:51:40 +00:00
Simpler check, since VAR_NEW_ROOM is no longer set in small header games.
svn-id: r17764
This commit is contained in:
parent
789007ec67
commit
cc526f0a01
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user