1
0
Fork 0

Restore shared pointer in checkCarrierSceneryLoaded

I'd removed this as part of testing and this restores it back to how it should be.
This commit is contained in:
Richard Harrison 2021-04-17 09:32:14 +02:00
parent 4096f354df
commit d92da2cb17

View file

@ -386,7 +386,7 @@ static InitPosResult setInitialPosFromCarrier( const string& carrier )
return Failure;
}
static InitPosResult checkCarrierSceneryLoaded(FGAICarrier* carrierRef)
static InitPosResult checkCarrierSceneryLoaded(const SGSharedPtr<FGAICarrier> carrierRef)
{
SGVec3d cartPos = carrierRef->getCartPos();
auto framestamp = globals->get_renderer()->getFrameStamp();