diff options
Diffstat (limited to 'disaster_cmd.c')
-rw-r--r-- | disaster_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/disaster_cmd.c b/disaster_cmd.c index d6d10bf0c..0c28ddc0a 100644 --- a/disaster_cmd.c +++ b/disaster_cmd.c @@ -20,7 +20,7 @@ static void DisasterClearSquare(uint tile) if (!EnsureNoVehicle(tile)) return; - type = _map_type_and_height[tile] >> 4; + type = TileType(tile); if (type == MP_RAILWAY) { if (IS_HUMAN_PLAYER(_map_owner[tile])) |