summaryrefslogtreecommitdiff
path: root/landscape.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 /landscape.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 'landscape.c')
-rw-r--r--landscape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/landscape.c b/landscape.c
index 31bfe68cb..c884b0b3d 100644
--- a/landscape.c
+++ b/landscape.c
@@ -380,7 +380,7 @@ void CDECL ModifyTile(TileIndex tile, uint flags, ...)
}
if (flags & (MP_MAPOWNER|MP_MAPOWNER_CURRENT)) {
- byte x = _current_player;
+ PlayerID x = _current_player;
if (flags & MP_MAPOWNER) x = va_arg(va, int);
_m[tile].m1 = x;
}