diff options
Diffstat (limited to 'src/aircraft_cmd.cpp')
-rw-r--r-- | src/aircraft_cmd.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp index 35fe61395..76a524d4b 100644 --- a/src/aircraft_cmd.cpp +++ b/src/aircraft_cmd.cpp @@ -1421,10 +1421,7 @@ static void HandleAircraftLoading(Vehicle *v, int mode) if (mode != 0) return; if (--v->load_unload_time_rem != 0) return; - if (CanFillVehicle(v)) { - LoadUnloadVehicle(v); - return; - } + if (LoadUnloadVehicle(v)) return; Order b = v->current_order; v->LeaveStation(); |