aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova/state.h
diff options
context:
space:
mode:
authorJoseph-Eugene Winzer2017-12-19 12:19:07 +0100
committerThierry Crozat2018-01-23 02:15:44 +0000
commitbb8dbdfc682290f3d4da5a9eb50455485351f5c8 (patch)
tree0a9db733996268abbf834dd944e3d9f63b5d182a /engines/supernova/state.h
parentb76ac8331ff269210f8a9face931ec39cdb50f5d (diff)
downloadscummvm-rg350-bb8dbdfc682290f3d4da5a9eb50455485351f5c8.tar.gz
scummvm-rg350-bb8dbdfc682290f3d4da5a9eb50455485351f5c8.tar.bz2
scummvm-rg350-bb8dbdfc682290f3d4da5a9eb50455485351f5c8.zip
SUPERNOVA: Fixes game freeze in bcorrdior
Most of the time _objectState[MAX_OBJECT - 1] was used for showing/hiding the GUI, here it was to indicate if the player is currently hidden behind a pillar though.
Diffstat (limited to 'engines/supernova/state.h')
-rw-r--r--engines/supernova/state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/supernova/state.h b/engines/supernova/state.h
index e61519cfbb..50a0ce18d8 100644
--- a/engines/supernova/state.h
+++ b/engines/supernova/state.h
@@ -56,6 +56,7 @@ struct GameState {
bool _powerOff;
bool _dream;
bool _nameSeen[4];
+ bool _playerHidden;
};
class Inventory {