From 73a11decf7804e3fdc2d02721de7432b01c8d817 Mon Sep 17 00:00:00 2001 From: gre4bee Date: Sat, 5 Jan 2019 13:03:35 +0800 Subject: [PATCH] Support for LBAS recon -fix for error in dialogairbasecorpssimulation --- ElectronicObserver/Data/EquipmentDataMaster.cs | 2 ++ ElectronicObserver/Data/EquipmentTypes.cs | 2 ++ .../Window/Dialog/DialogBaseAirCorpsSimulation.cs | 2 ++ 3 files changed, 6 insertions(+) diff --git a/ElectronicObserver/Data/EquipmentDataMaster.cs b/ElectronicObserver/Data/EquipmentDataMaster.cs index f24a7d399..922ea3b51 100644 --- a/ElectronicObserver/Data/EquipmentDataMaster.cs +++ b/ElectronicObserver/Data/EquipmentDataMaster.cs @@ -233,6 +233,7 @@ public bool IsAircraft case EquipmentTypes.SeaplaneRecon: case EquipmentTypes.FlyingBoat: case EquipmentTypes.JetRecon: + case EquipmentTypes.LandBasedRecon: return true; default: @@ -279,6 +280,7 @@ public bool IsReconAircraft case EquipmentTypes.SeaplaneRecon: case EquipmentTypes.FlyingBoat: case EquipmentTypes.JetRecon: + case EquipmentTypes.LandBasedRecon: return true; default: diff --git a/ElectronicObserver/Data/EquipmentTypes.cs b/ElectronicObserver/Data/EquipmentTypes.cs index 984665a63..6107f5762 100644 --- a/ElectronicObserver/Data/EquipmentTypes.cs +++ b/ElectronicObserver/Data/EquipmentTypes.cs @@ -147,6 +147,8 @@ public enum EquipmentTypes /// 局地戦闘機 Interceptor = 48, + // landbased recon aircraft + LandBasedRecon = 49, /// 輸送機材 TransportMaterial = 50, diff --git a/ElectronicObserver/Window/Dialog/DialogBaseAirCorpsSimulation.cs b/ElectronicObserver/Window/Dialog/DialogBaseAirCorpsSimulation.cs index 7ce4ac6ae..f8d76dd64 100644 --- a/ElectronicObserver/Window/Dialog/DialogBaseAirCorpsSimulation.cs +++ b/ElectronicObserver/Window/Dialog/DialogBaseAirCorpsSimulation.cs @@ -30,6 +30,7 @@ public partial class DialogBaseAirCorpsSimulation : Form EquipmentTypes.SeaplaneFighter, EquipmentTypes.LandBasedAttacker, EquipmentTypes.Interceptor, + EquipmentTypes.LandBasedRecon, EquipmentTypes.JetFighter, EquipmentTypes.JetBomber, EquipmentTypes.JetTorpedo, @@ -63,6 +64,7 @@ public partial class DialogBaseAirCorpsSimulation : Form EquipmentTypes.SeaplaneRecon, EquipmentTypes.FlyingBoat, EquipmentTypes.JetRecon, + EquipmentTypes.LandBasedRecon };