diff options
Diffstat (limited to 'engines/titanic')
-rw-r--r-- | engines/titanic/events.cpp | 2 | ||||
-rw-r--r-- | engines/titanic/game_state.cpp | 2 | ||||
-rw-r--r-- | engines/titanic/game_state.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/events.cpp b/engines/titanic/events.cpp index d6f12f5c7d..480cc91578 100644 --- a/engines/titanic/events.cpp +++ b/engines/titanic/events.cpp @@ -115,7 +115,7 @@ void Events::onIdle() { // Let the game manager perform any game updates gameManager->update(); - if (gameManager->_gameState._field20) { + if (gameManager->_gameState._quitGame) { // Game needs to shut down _vm->quitGame(); } diff --git a/engines/titanic/game_state.cpp b/engines/titanic/game_state.cpp index 280c917139..92a0e3dea6 100644 --- a/engines/titanic/game_state.cpp +++ b/engines/titanic/game_state.cpp @@ -46,7 +46,7 @@ bool CGameStateMovieList::clear() { CGameState::CGameState(CGameManager *gameManager) : _gameManager(gameManager), _gameLocation(this), _field8(0), _fieldC(0), _mode(GSMODE_UNSELECTED), _field14(0), _petActive(false), - _field1C(0), _field20(0), _field24(0), _nodeChangeCtr(0), + _field1C(0), _quitGame(false), _field24(0), _nodeChangeCtr(0), _nodeEnterTicks(0), _field38(0) { } diff --git a/engines/titanic/game_state.h b/engines/titanic/game_state.h index 5a53d217da..5d4b686bf4 100644 --- a/engines/titanic/game_state.h +++ b/engines/titanic/game_state.h @@ -60,7 +60,7 @@ public: int _field14; bool _petActive; int _field1C; - int _field20; + bool _quitGame; int _field24; uint _nodeChangeCtr; uint32 _nodeEnterTicks; |