Use SimulationStatus.addWarning() to add large AOA warnings
This commit is contained in:
parent
edf4d03322
commit
02b17dfd16
@ -280,8 +280,7 @@ public class BasicEventSimulationEngine implements SimulationEngine {
|
||||
} else {
|
||||
// Stable, so warning about AOA
|
||||
if (currentStatus.recordWarnings()) {
|
||||
currentStatus.addEvent(new FlightEvent(FlightEvent.Type.SIM_WARN, currentStatus.getSimulationTime(), null,
|
||||
new Warning.LargeAOA(aoa)));
|
||||
currentStatus.addWarning(new Warning.LargeAOA(aoa));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user