File diff r2497:4f8fde59a2e8 → r2498:8dfa040ed505
town_cmd.c
Show inline comments
 
@@ -779,13 +779,13 @@ static int GenRandomRoadBits(void)
 
// Returns true if a house was built, or no if the build failed.
 
bool GrowTown(Town *t)
 
{
 
	TileIndex tile;
 
	const TileIndexDiffC *ptr;
 
	TileInfo ti;
 
	byte old_player;
 
	PlayerID old_player;
 

	
 
	static const TileIndexDiffC _town_coord_mod[] = {
 
		{-1,  0},
 
		{ 1,  1},
 
		{ 1, -1},
 
		{-1, -1},
 
@@ -1575,13 +1575,13 @@ static void TownActionRoadRebuild(Town *
 
		NEWS_FLAGS(NM_NORMAL, NF_TILE, NT_GENERAL, 0), t->xy, 0);
 
}
 

	
 
static bool DoBuildStatueOfCompany(TileIndex tile)
 
{
 
	TileInfo ti;
 
	byte old;
 
	PlayerID old;
 
	int32 r;
 

	
 
	FindLandscapeHeightByTile(&ti, tile);
 
	if (ti.tileh != 0)
 
		return false;