summaryrefslogtreecommitdiff
path: root/station_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'station_cmd.c')
-rw-r--r--station_cmd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/station_cmd.c b/station_cmd.c
index f31634d78..c4d9854b2 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -757,7 +757,9 @@ int32 CheckFlatLandBelow(uint tile, uint w, uint h, uint flags, uint invalid_dir
int32 cost = 0, ret;
uint tileh;
- int z, allowed_z = -1, flat_z;
+ uint z;
+ int allowed_z = -1;
+ int flat_z;
BEGIN_TILE_LOOP(tile_cur, w, h, tile)
if (!EnsureNoVehicle(tile_cur))