diff options
author | Joseph-Eugene Winzer | 2017-12-19 12:19:07 +0100 |
---|---|---|
committer | Thierry Crozat | 2018-01-23 02:15:44 +0000 |
commit | bb8dbdfc682290f3d4da5a9eb50455485351f5c8 (patch) | |
tree | 0a9db733996268abbf834dd944e3d9f63b5d182a /engines/supernova/state.cpp | |
parent | b76ac8331ff269210f8a9face931ec39cdb50f5d (diff) | |
download | scummvm-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.cpp')
-rw-r--r-- | engines/supernova/state.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/supernova/state.cpp b/engines/supernova/state.cpp index e199e15d47..6821065214 100644 --- a/engines/supernova/state.cpp +++ b/engines/supernova/state.cpp @@ -1091,7 +1091,7 @@ void GameManager::guardWalkEvent() { walk(18); } - if (!_currentRoom->isSectionVisible(kMaxSection - 1)) { + if (!_state._playerHidden) { if (_state._origin & 1) walk(10); else |