aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova/supernova1
diff options
context:
space:
mode:
Diffstat (limited to 'engines/supernova/supernova1')
-rw-r--r--engines/supernova/supernova1/state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/supernova/supernova1/state.cpp b/engines/supernova/supernova1/state.cpp
index ee1fe46aa0..8130b2bb5a 100644
--- a/engines/supernova/supernova1/state.cpp
+++ b/engines/supernova/supernova1/state.cpp
@@ -1040,8 +1040,8 @@ void GameManager1::shock() {
void GameManager1::drawMapExits() {
_vm->renderBox(281, 161, 39, 39, kColorWhite25);
- int idx;
for (int i = 0; i < 25; i++) {
+ int idx;
if ((idx = _exitList[i]) != -1) {
byte r = _currentRoom->getObject(idx)->_direction;
int x = 284 + 7 * (r % 5);