1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-27 00:19:09 +00:00

(svn r17824) -Fix (r4594): _date_fract runs from 0 to 73 since r2041. Variable 0x09 should not.

This commit is contained in:
frosch
2009-10-20 19:30:50 +00:00
parent 7658bac2b5
commit a138f604ee

View File

@@ -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