summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/newgrf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 6257d09c9..28dca23b0 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -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