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:
parent
4096f354df
commit
d92da2cb17
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue