remove cleared alt when equals final alt
This commit is contained in:
parent
7fb4a5f88b
commit
45ae91f4bc
@ -31,7 +31,7 @@ void TinyEurocat::OnGetTagItem( CFlightPlan FlightPlan,
|
||||
case TAG_ITEM_MET_ASS_ALT:
|
||||
maalt = FlightPlan.GetClearedAltitude() * 0.3048;
|
||||
maalt /= 100;
|
||||
if (maalt > 0 && maalt != FlightPlan.GetFinalAltitude() * 0.3048 / 100 && maalt <= 149)
|
||||
if (maalt > 0 && maalt != int(FlightPlan.GetFinalAltitude() * 0.3048) / 100 && maalt <= 149)
|
||||
{
|
||||
if (maalt <= 84)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user