diff options
Diffstat (limited to 'build_vehicle_gui.c')
-rw-r--r-- | build_vehicle_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_vehicle_gui.c b/build_vehicle_gui.c index 1f2639129..ce6ba8c0f 100644 --- a/build_vehicle_gui.c +++ b/build_vehicle_gui.c @@ -290,7 +290,7 @@ static void GenerateBuildAircraftList(Window *w) * when planes become obsolete and are removed */ sel_id = INVALID_ENGINE; for (eid = AIRCRAFT_ENGINES_INDEX; eid < AIRCRAFT_ENGINES_INDEX + NUM_AIRCRAFT_ENGINES; eid++) { - if (IsEngineBuildable(eid, VEH_Aircraft)) { + if (IsEngineBuildable(eid, VEH_Aircraft, _local_player)) { const AircraftVehicleInfo *avi = AircraftVehInfo(eid); switch (bv->filter.acc_planes) { case HELICOPTERS_ONLY: |