equal
deleted
inserted
replaced
1730 |
1730 |
1731 if (v->u.air.targetairport == st->index && v->u.air.state != FLYING) return CMD_ERROR; |
1731 if (v->u.air.targetairport == st->index && v->u.air.state != FLYING) return CMD_ERROR; |
1732 } |
1732 } |
1733 |
1733 |
1734 BEGIN_TILE_LOOP(tile_cur, w, h, tile) { |
1734 BEGIN_TILE_LOOP(tile_cur, w, h, tile) { |
1735 if (!EnsureNoVehicle(tile_cur)) return CMD_ERROR; |
1735 if (!EnsureNoVehicleOnGround(tile_cur)) return CMD_ERROR; |
1736 |
1736 |
1737 if (flags & DC_EXEC) { |
1737 if (flags & DC_EXEC) { |
1738 DeleteAnimatedTile(tile_cur); |
1738 DeleteAnimatedTile(tile_cur); |
1739 DoClearSquare(tile_cur); |
1739 DoClearSquare(tile_cur); |
1740 } |
1740 } |