Changeset - r6100:8b07959a2915
[Not reviewed]
master
0 1 0
tron - 17 years ago 2007-02-21 20:05:05
tron@openttd.org
(svn r8835) -Fix

Remove dead code
1 file changed with 0 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/aircraft_cmd.cpp
Show inline comments
 
@@ -544,13 +544,12 @@ int32 CmdSendAircraftToHangar(TileIndex 
 
		if (!st->IsValid() || st->airport_tile == 0 || st->Airport()->nof_depots == 0) {
 
			// the aircraft has to search for a hangar on its own
 
			StationID station = FindNearestHangar(v);
 

	
 
			next_airport_has_hangar = false;
 
			if (station == INVALID_STATION) return CMD_ERROR;
 
			st = GetStation(station);
 
			next_airport_index = station;
 
		}
 

	
 
		if (flags & DC_EXEC) {
 
			v->current_order.type = OT_GOTO_DEPOT;
 
			v->current_order.flags = OF_NON_STOP;
0 comments (0 inline, 0 general)