mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 08:25:35 +00:00
DREAMWEB: Fix minor regression with Ryan's watch.
Using Ryan's watch within the game, the watch time always started at 19.30 from point of use, which did not seem correct. Checking with the original CD and Floppy interpreters under DOSBox showed they used the current system time, so this was incorrect. Bisection shows that this regression was introduced by commit 57e940f67896e0f085de23088754fe1682cd49db i.e. "DREAMWEB: Move all saved variables to a GameVars struct" and was probably a side effect of a minor call ordering change in the equivalent of setupInitialVars() with respect to the getTime() call. However, to ensure no further regressions, it was easier to fix this by replacing the initial value setting by a getTime() call.
This commit is contained in:
parent
50136f43c7
commit
d335b78003
@ -2920,9 +2920,7 @@ void DreamWebEngine::setupInitialVars() {
|
||||
_vars._progressPoints = 0;
|
||||
_vars._watchOn = 0;
|
||||
_vars._shadesOn = 0;
|
||||
_vars._secondCount = 0;
|
||||
_vars._minuteCount = 30;
|
||||
_vars._hourCount = 19;
|
||||
getTime();
|
||||
_vars._zoomOn = 1;
|
||||
_vars._location = 0;
|
||||
_vars._exPos = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user