2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-06 18:45:53 +00:00

CStateManager: Fix CMapWorld const reference

This commit is contained in:
Luke Street 2020-03-18 01:18:00 -04:00
parent 9e05819f05
commit 36ac0a8d78

View File

@ -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) {