mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-12 04:35:41 +08:00
refs #863 Interpolator inheritance based on CRTP rather than virtual methods.
This commit is contained in:
@@ -100,8 +100,8 @@ namespace BlackMisc
|
||||
// do not call for XP (lazy init)
|
||||
if (!hints.hasElevationProvider())
|
||||
{
|
||||
IInterpolator::setGroundElevationFromHint(hints, oldSituation, false);
|
||||
IInterpolator::setGroundElevationFromHint(hints, newSituation, false);
|
||||
CInterpolator::setGroundElevationFromHint(hints, oldSituation, false);
|
||||
CInterpolator::setGroundElevationFromHint(hints, newSituation, false);
|
||||
}
|
||||
|
||||
CAircraftSituation currentSituation(oldSituation); // also sets ground elevation if available
|
||||
|
||||
Reference in New Issue
Block a user