TITANIC: Rename field in CGameState

This commit is contained in:
Paul Gilbert 2016-04-08 18:53:05 -04:00
parent c5b73db7b9
commit 63e2a01ecf
3 changed files with 3 additions and 3 deletions

View File

@ -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();
}

View File

@ -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) {
}

View File

@ -60,7 +60,7 @@ public:
int _field14;
bool _petActive;
int _field1C;
int _field20;
bool _quitGame;
int _field24;
uint _nodeChangeCtr;
uint32 _nodeEnterTicks;