mirror of https://github.com/AxioDL/metaforce.git
CStateManager: Fix CMapWorld const reference
This commit is contained in:
parent
9e05819f05
commit
36ac0a8d78
|
@ -2339,7 +2339,7 @@ void CStateManager::SetCurrentAreaId(TAreaId aid) {
|
||||||
if (x8c0_mapWorldInfo->IsAreaVisited(aid))
|
if (x8c0_mapWorldInfo->IsAreaVisited(aid))
|
||||||
return;
|
return;
|
||||||
x8c0_mapWorldInfo->SetAreaVisited(aid, true);
|
x8c0_mapWorldInfo->SetAreaVisited(aid, true);
|
||||||
x850_world->GetMapWorld()->RecalculateWorldSphere(*x8c0_mapWorldInfo, *x850_world);
|
x850_world->IMapWorld()->RecalculateWorldSphere(*x8c0_mapWorldInfo, *x850_world);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CStateManager::AreaUnloaded(TAreaId) {
|
void CStateManager::AreaUnloaded(TAreaId) {
|
||||||
|
|
Loading…
Reference in New Issue