summaryrefslogtreecommitdiff
path: root/aircraft_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'aircraft_cmd.c')
-rw-r--r--aircraft_cmd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/aircraft_cmd.c b/aircraft_cmd.c
index 545a9f92e..2478a8e10 100644
--- a/aircraft_cmd.c
+++ b/aircraft_cmd.c
@@ -1302,8 +1302,6 @@ static void AircraftEnterHangar(Vehicle *v)
ServiceAircraft(v);
InvalidateWindowClasses(WC_AIRCRAFT_LIST);
- v = MaybeReplaceVehicle(v);
-
TriggerVehicle(v, VEHICLE_TRIGGER_DEPOT);
if (v->current_order.type == OT_GOTO_DEPOT) {