# HG changeset patch # User rubidium # Date 1191007492 0 # Node ID a2048af4a7f9de70378ad0db8ec8e876d56b595f # Parent 99bd9cd9e6841a8a9d89d452e0f0198eb87253f3 (svn r11183) -Fix [FS#1249]: airports do not need to care about overflying aircraf when removing them, because if they were not in the "flying" state it can't be removed anyway. diff -r 99bd9cd9e684 -r a2048af4a7f9 src/station_cmd.cpp --- a/src/station_cmd.cpp Fri Sep 28 19:17:33 2007 +0000 +++ b/src/station_cmd.cpp Fri Sep 28 19:24:52 2007 +0000 @@ -1732,7 +1732,7 @@ } BEGIN_TILE_LOOP(tile_cur, w, h, tile) { - if (!EnsureNoVehicle(tile_cur)) return CMD_ERROR; + if (!EnsureNoVehicleOnGround(tile_cur)) return CMD_ERROR; if (flags & DC_EXEC) { DeleteAnimatedTile(tile_cur);