SUPERNOVA: Introduces INT32_MAX for eventTime

This commit is contained in:
Joseph-Eugene Winzer 2017-12-24 12:12:40 +01:00 committed by Thierry Crozat
parent b6bb1f9709
commit 6e7da43889
4 changed files with 6 additions and 4 deletions

View file

@ -368,7 +368,7 @@ void GameManager::initState() {
_state._time = ticksToMsec(916364); // 2 pm
_state._timeSleep = 0;
_state._timeAlarm = ticksToMsec(458182); // 7 am
_state._eventTime = 0x7FFFFFFF;
_state._eventTime = INT32_MAX;
_state._eventCallback = kNoFn;
_state._arrivalDaysLeft = 2840;
_state._shipEnergyDaysLeft = 2135;
@ -849,7 +849,7 @@ void GameManager::telomat(int nr) {
}
_rooms[BCORRIDOR]->setSectionVisible(7, true);
_rooms[BCORRIDOR]->setSectionVisible(i + 1, true);
_state._eventTime = 0x7FFFFFFF;
_state._eventTime = INT32_MAX;
_currentRoom->addSentence(0, 1);
}
_guiEnabled = true;