Changeset - r11057:de282d015e1d
[Not reviewed]
master
0 1 0
rubidium - 16 years ago 2009-02-07 16:02:29
rubidium@openttd.org
(svn r15397) -Fix [FS#2618]: a town could build a statue under a bridge.
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/town_cmd.cpp
Show inline comments
 
@@ -2182,6 +2182,8 @@ static bool DoBuildStatueOfCompany(TileI
 
{
 
	/* Statues can be build on slopes, just like houses. Only the steep slopes is a no go. */
 
	if (IsSteepSlope(GetTileSlope(tile, NULL))) return false;
 
	/* Don't build statues under bridges. */
 
	if (MayHaveBridgeAbove(tile) && IsBridgeAbove(tile)) return false;
 

	
 
	if (!IsTileType(tile, MP_HOUSE) &&
 
			!IsTileType(tile, MP_CLEAR) &&
0 comments (0 inline, 0 general)