diff options
author | Joseph-Eugene Winzer | 2017-08-28 13:40:32 +0200 |
---|---|---|
committer | Thierry Crozat | 2018-01-23 01:52:59 +0000 |
commit | edef2792da5ca6f039a6d9ff7618cd9ad217f444 (patch) | |
tree | 60a9bd3b6c9c6a6c09b773fc1dde90bb2b6186c0 /engines/supernova/state.h | |
parent | bc43ff820e309ce1f6d7b5748bf8d43647433c67 (diff) | |
download | scummvm-rg350-edef2792da5ca6f039a6d9ff7618cd9ad217f444.tar.gz scummvm-rg350-edef2792da5ca6f039a6d9ff7618cd9ad217f444.tar.bz2 scummvm-rg350-edef2792da5ca6f039a6d9ff7618cd9ad217f444.zip |
SUPERNOVA: Adds RoomID to Rooms
GameManager::airless() determined if the space suit could be taken off
by comparing the current room pointer to the allocated room objects.
This led to indeterministic behavior as sometimes airless() would
falsely return true as the dynamic allocation of the Room objects cannot
be expected to be in a certain order.
Implementing the corresponing RoomID to a Room objects solves this
problem.
Diffstat (limited to 'engines/supernova/state.h')
-rw-r--r-- | engines/supernova/state.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/supernova/state.h b/engines/supernova/state.h index affd9b69f5..079e12641f 100644 --- a/engines/supernova/state.h +++ b/engines/supernova/state.h @@ -53,9 +53,6 @@ struct GameState { bool _terminalStripWire; bool _cableConnected; bool _powerOff; - bool _cockpitSeen; - bool _airlockSeen; - bool _holdSeen; bool _dream; }; |