Changeset - r5065:9492986c7f3a
[Not reviewed]
master
0 1 0
belugas - 18 years ago 2006-11-09 18:31:06
belugas@openttd.org
(svn r7121) -Fix(r1): Tell the town that this player has built a statue only if it really did happened
1 file changed with 4 insertions and 3 deletions:
0 comments (0 inline, 0 general)
town_cmd.c
Show inline comments
 
@@ -1502,10 +1502,11 @@ static void TownActionBuildStatue(Town* 
 
	TileIndex tile = t->xy;
 
	const TileIndexDiffC *p;
 

	
 
	SETBIT(t->statues, _current_player);
 

	
 
	for (p = _statue_tiles; p != endof(_statue_tiles); ++p) {
 
		if (DoBuildStatueOfCompany(tile)) return;
 
		if (DoBuildStatueOfCompany(tile)) {
 
			SETBIT(t->statues, _current_player);
 
			return;
 
		}
 
		tile = TILE_ADD(tile, ToTileIndexDiff(*p));
 
	}
 
}
0 comments (0 inline, 0 general)