Changeset - r7707:0f25fce9ac45
[Not reviewed]
master
0 1 0
belugas - 17 years ago 2007-10-10 00:42:52
belugas@openttd.org
(svn r11241) -Fix: Obiwan error on industry animated tiles. Spotted and fixed by Csaboka
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/newgrf_industrytiles.cpp
Show inline comments
 
@@ -294,7 +294,7 @@ void AnimateNewIndustryTile(TileIndex ti
 

	
 
	bool frame_set_by_callback = false;
 
	byte frame = GetIndustryAnimationState(tile);
 
	uint16 num_frames = GB(itspec->animation_info, 0, 8) + 1;
 
	uint16 num_frames = GB(itspec->animation_info, 0, 8);
 

	
 
	if (HASBIT(itspec->callback_flags, CBM_INDT_ANIM_NEXT_FRAME)) {
 
		uint16 callback_res = GetIndustryTileCallback(CBID_INDTILE_ANIM_NEXT_FRAME, HASBIT(itspec->animation_special_flags, 0) ? Random() : 0, 0, gfx, ind, tile);
0 comments (0 inline, 0 general)