mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-02 12:24:15 +00:00
(svn r17824) -Fix (r4594): _date_fract runs from 0 to 73 since r2041. Variable 0x09 should not.
This commit is contained in:
parent
7658bac2b5
commit
a138f604ee
@ -3716,7 +3716,7 @@ bool GetGlobalVariable(byte param, uint32 *value)
|
||||
return true;
|
||||
|
||||
case 0x09: // date fraction
|
||||
*value = _date_fract;
|
||||
*value = _date_fract * 885;
|
||||
return true;
|
||||
|
||||
case 0x0A: // animation counter
|
||||
|
Loading…
Reference in New Issue
Block a user