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
commit3397e202c82cda0398ef4a642e74f2d864c5dc7d (patch)
tree75058b5a9db24d07229edde45f993401aec6bd63 /town_cmd.c
parent2b44da199c7bb6aae62a7e6aaae7775a07d16bdd (diff)
downloadopenttd-3397e202c82cda0398ef4a642e74f2d864c5dc7d.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);