aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJoseph-Eugene Winzer2017-08-23 04:21:24 +0200
committerThierry Crozat2018-01-23 01:47:01 +0000
commit644a6835e5a3ee97a53abaeacdb05df99c90a0da (patch)
treecea72342a15e95bea390884251bdaab4eb3997f0 /engines
parent53c086c34137831fde4126489a14b2010226abac (diff)
downloadscummvm-rg350-644a6835e5a3ee97a53abaeacdb05df99c90a0da.tar.gz
scummvm-rg350-644a6835e5a3ee97a53abaeacdb05df99c90a0da.tar.bz2
scummvm-rg350-644a6835e5a3ee97a53abaeacdb05df99c90a0da.zip
SUPERNOVA: Adjusts init time values
to the approximated ms per tick constant of 55ms.
Diffstat (limited to 'engines')
-rw-r--r--engines/supernova/state.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/supernova/state.cpp b/engines/supernova/state.cpp
index ed0fe96a6b..6fa600bb9f 100644
--- a/engines/supernova/state.cpp
+++ b/engines/supernova/state.cpp
@@ -225,8 +225,8 @@ void GameManager::initState() {
_state._timeSleep = 0;
// NOTE: systime() calls int 1A, means it gets number of ticks since midnight.
// So, it doesn't matter if we overflow by substraction?
- _state._timeStarting = _vm->_system->getMillis() - ticksToMsec(917650); // 2 pm
- _state._timeAlarm = ticksToMsec(458808); // 7 am
+ _state._timeStarting = ticksToMsec(916364); // 2 pm
+ _state._timeAlarm = ticksToMsec(458182); // 7 am
_state._timeAlarmSystem = _state._timeAlarm + _state._timeStarting;
_state._eventTime = 0xffffffff;
_state._shipEnergy = 2135;