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
 
@@ -3713,13 +3713,13 @@ bool GetGlobalVariable(byte param, uint3
 

	
 
		case 0x06: // road traffic side, bit 4 clear=left, set=right
 
			*value = _settings_game.vehicle.road_side << 4;
 
			return true;
 

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

	
 
		case 0x0A: // animation counter
 
			*value = _tick_counter;
 
			return true;
 

	
0 comments (0 inline, 0 general)