SUPERNOVA: Fix calling onEntrance for new rooms

There was an issue when the onEntrance for one room changes
the current room. It would then fail to call onEntrance for
that new room. This happened at lest once at the start as the
Intro room onEntrance() changes to the first room at the end
if the intro cutscene.
This commit is contained in:
Thierry Crozat 2017-12-14 00:12:41 +00:00
parent bc78e613fd
commit ab6ae19ab3

View File

@ -2204,8 +2204,8 @@ void GameManager::executeRoom() {
_vm->paletteBrightness();
if (!_currentRoom->hasSeen() && _newRoom) {
_currentRoom->onEntrance();
_newRoom = false;
_currentRoom->onEntrance();
}
}