1
0
Fork 0

src/Main/positioninit.cxx: don't open popup if unable to position on taxiway.

Have downgraded from SG_POPUP to SG_ALERT.
This commit is contained in:
Julian Smith 2020-11-02 10:52:32 +00:00
parent cf55c5f4f5
commit bf7d8bbbb3

View file

@ -191,7 +191,7 @@ std::tuple<SGGeod, double> runwayStartPos(FGRunwayRef runway)
runway->ident() << ", MP is enabled so computing hold short position to avoid runway incursion");
FGGroundNetwork* groundNet = runway->airport()->groundNetwork();
if (groundNet) {
// add a margin, try to keep the entire aeroplane comfortable off the
// runway.
@ -205,11 +205,11 @@ std::tuple<SGGeod, double> runwayStartPos(FGRunwayRef runway)
else {
// if we couldn't find a suitable taxi-node, give up. Guessing a position
// causes too much pain (starting in the water or similar bad things)
SG_LOG( SG_GENERAL, SG_POPUP, "Unable to position off runway because groundnet has no taxi node.");
SG_LOG( SG_GENERAL, SG_ALERT, "Unable to position off runway because groundnet has no taxi node.");
}
}
else {
SG_LOG( SG_GENERAL, SG_POPUP, "Unable to position off runway because no groundnet.");
SG_LOG( SG_GENERAL, SG_ALERT, "Unable to position off runway because no groundnet.");
}
}