liyang 7 months ago
parent
commit
9091a00d18

+ 0 - 1
Models/SimulationCommon/EquationHelper.cs

@@ -95,7 +95,6 @@ namespace MuShiApp
                 }
             }
 
-            if(targetPointID)
             return 0;
         }
 

+ 0 - 1
SimulationServer/Entity/AircraftLandSJ.cs

@@ -24,7 +24,6 @@ public class AircraftLandSJ : AircraftEntity
     public MissionEndPoint MissionEndPoint;
     public SearchMissionMode SearchMissionMode;
     public bool Success = false; //本目标搜救是否成功
-    public TargetPoint targetPoint1;
 
     public override void Reset()
     {

+ 0 - 1
SimulationServer/EventHandler/CreateTaskEventHandler.cs

@@ -333,7 +333,6 @@ public class CreateLandSJEventHandler : AEvent<CreateLandSXTask>
             mission.aircrafts.Add(aircraft);
             aircraft.taskContent = config.LandSXTask;
             aircraft.AircraftId = config.LandSXTask.aircraftInfos[i].AircraftId;
-            aircraft.targetPoint1 = targetPoint;
             aircraft.MissionEndPoint = new MissionEndPoint
             {
                 MissionEndPointLongitude = targetPoint.TargetPointLongitude,