Changeset - r13305:1dca895e8bca
[Not reviewed]
master
0 1 0
frosch - 15 years ago 2009-10-20 19:30:50
frosch@openttd.org
(svn r17824) -Fix (r4594): _date_fract runs from 0 to 73 since r2041. Variable 0x09 should not.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/newgrf.cpp
Show inline comments
 
@@ -3716,7 +3716,7 @@ bool GetGlobalVariable(byte param, uint3
 
			return true;
 

	
 
		case 0x09: // date fraction
 
			*value = _date_fract;
 
			*value = _date_fract * 885;
 
			return true;
 

	
 
		case 0x0A: // animation counter
0 comments (0 inline, 0 general)