File diff r26388:95d663568b17 → r26389:b3455045a0d1
src/newgrf_animation_base.h
Show inline comments
 
@@ -53,7 +53,7 @@ struct AnimationBase {
 
		 * increasing this value by one doubles the wait. 0 is the minimum value
 
		 * allowed for animation_speed, which corresponds to 30ms, and 16 is the
 
		 * maximum, corresponding to around 33 minutes. */
 
		if (_tick_counter % (1 << animation_speed) != 0) return;
 
		if (_tick_counter % (1ULL << animation_speed) != 0) return;
 

	
 
		uint8 frame      = GetAnimationFrame(tile);
 
		uint8 num_frames = spec->animation.frames;