diff options
author | rubidium <rubidium@openttd.org> | 2007-10-19 22:46:55 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-10-19 22:46:55 +0000 |
commit | 95f2181a1dbd2ac1276bf3e044d6d9161b96ed50 (patch) | |
tree | 94325422edf35b6645a697ffa3bfd15ed090bf01 /src/disaster_cmd.cpp | |
parent | 9371ac13078df51aa920ecaa99485b0b4081513a (diff) | |
download | openttd-95f2181a1dbd2ac1276bf3e044d6d9161b96ed50.tar.xz |
(svn r11303) -Fix: EnsureNoVehicle and EnsureNoVehicleOnGround were both used to check whether there was no vehicle on the ground, except that the former didn't take care of aircraft shadows. So now we only use EnsureNoVehicleOnGround.
Diffstat (limited to 'src/disaster_cmd.cpp')
-rw-r--r-- | src/disaster_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/disaster_cmd.cpp b/src/disaster_cmd.cpp index 7034a16e0..c596be9b1 100644 --- a/src/disaster_cmd.cpp +++ b/src/disaster_cmd.cpp @@ -60,7 +60,7 @@ enum DisasterSubType { static void DisasterClearSquare(TileIndex tile) { - if (!EnsureNoVehicle(tile)) return; + if (!EnsureNoVehicleOnGround(tile)) return; switch (GetTileType(tile)) { case MP_RAILWAY: |