aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();