summaryrefslogtreecommitdiff
path: root/town_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-10-07 07:35:15 +0000
committertron <tron@openttd.org>2005-10-07 07:35:15 +0000
commit8980891b09a48438d295b73cd068b41184aa44a2 (patch)
tree75058b5a9db24d07229edde45f993401aec6bd63 /town_cmd.c
parent488db23ed85c4a5fd0ed27833cbd9e05be3a5c94 (diff)
downloadopenttd-8980891b09a48438d295b73cd068b41184aa44a2.tar.xz
(svn r3024) -Codechange: Another batch of replacements of int/uint/int16/byte/-1 with proper types and constants
Diffstat (limited to 'town_cmd.c')
-rw-r--r--town_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/town_cmd.c b/town_cmd.c
index 9749cee8e..6ee747217 100644
--- a/town_cmd.c
+++ b/town_cmd.c
@@ -782,7 +782,7 @@ 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},
@@ -1578,7 +1578,7 @@ static void TownActionRoadRebuild(Town *t, int action)
static bool DoBuildStatueOfCompany(TileIndex tile)
{
TileInfo ti;
- byte old;
+ PlayerID old;
int32 r;
FindLandscapeHeightByTile(&ti, tile);