summaryrefslogtreecommitdiff
path: root/town_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-02-13 21:15:00 +0000
committertron <tron@openttd.org>2006-02-13 21:15:00 +0000
commitea73b466844a048f9f55b933f243ec19bdaaa18c (patch)
tree19340b96ef341c9784a27b719a1a90c2c691ca56 /town_cmd.c
parent235e72829e55cbb1e7632fe1b2d1429f6f3be054 (diff)
downloadopenttd-ea73b466844a048f9f55b933f243ec19bdaaa18c.tar.xz
(svn r3597) Miscellaneous (I like that word) changes: Fix some indentation, add consts, reduce indentation level by short-circuit logic, convert if cascades to switch, whitespace, bracing, plus some minor stuff
Diffstat (limited to 'town_cmd.c')
-rw-r--r--town_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/town_cmd.c b/town_cmd.c
index 8d2f43de4..492cb07a2 100644
--- a/town_cmd.c
+++ b/town_cmd.c
@@ -570,7 +570,7 @@ static void GrowTownInTile(TileIndex *tile_ptr, uint mask, int block, Town *t1)
int a,b,rcmd;
TileIndex tmptile;
TileInfo ti;
- int i;
+ uint i;
int j;
TileIndex tile = *tile_ptr;