GOB: Possible inter_renewTimeInVars() fix
|Reported by:||eriktorbjorn||Owned by:||sev-|
This patch is pure guesswork, but...
I noticed there was some code to get current year,
month and date that had been commented out. This patch
re-enables that code and modifies it to work like the
one in the SCUMM engine, so it should be portable enough.
It also moves the code to inter_renewTimeInVars() and
changes that function to fill out the remaining time
variables with the current time rather than the amount
of time that has passed since ScummVM was started.
Does anyone know what variable 7 is supposed to
contain? It's currently always set to 0.
Ticket imported from: #1181639. Ticket imported from: patches/521.