aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova
diff options
context:
space:
mode:
authorJoseph-Eugene Winzer2017-12-13 00:48:58 +0100
committerThierry Crozat2018-01-23 02:15:43 +0000
commit6a39148a3040e51976c8cf299c2da042c2b30e82 (patch)
tree7b367d58294522e2ba92df9ae6a3f1cd0a7dd9dd /engines/supernova
parente8d50c3c1b655a186f03df5fa5c6ad151f802c62 (diff)
downloadscummvm-rg350-6a39148a3040e51976c8cf299c2da042c2b30e82.tar.gz
scummvm-rg350-6a39148a3040e51976c8cf299c2da042c2b30e82.tar.bz2
scummvm-rg350-6a39148a3040e51976c8cf299c2da042c2b30e82.zip
SUPERNOVA: Sets sections in the correct room
Diffstat (limited to 'engines/supernova')
-rw-r--r--engines/supernova/state.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/supernova/state.cpp b/engines/supernova/state.cpp
index e0f30e941e..7f8475aba5 100644
--- a/engines/supernova/state.cpp
+++ b/engines/supernova/state.cpp
@@ -838,8 +838,8 @@ void GameManager::guardNoticed() {
wait2(2);
reply(kStringGuardNoticed2, 2, 5);
_vm->paletteFadeOut();
- r->setSectionVisible(2, false);
- r->setSectionVisible(5, false);
+ _currentRoom->setSectionVisible(2, false);
+ _currentRoom->setSectionVisible(5, false);
_currentRoom = r;
_guiEnabled = true;
drawMapExits();