2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 05:47:42 +00:00

CWorld: Rename IMapWorld to IGetMapWorld()

Allows const overloading to function properly and prevents potential
compilation errors from occurring if constness on functions is ever
changed.
This commit is contained in:
Lioncash
2020-03-20 23:24:13 -04:00
parent 36ac0a8d78
commit 8a9e76a345
4 changed files with 13 additions and 13 deletions

View File

@@ -2339,7 +2339,7 @@ void CStateManager::SetCurrentAreaId(TAreaId aid) {
if (x8c0_mapWorldInfo->IsAreaVisited(aid))
return;
x8c0_mapWorldInfo->SetAreaVisited(aid, true);
x850_world->IMapWorld()->RecalculateWorldSphere(*x8c0_mapWorldInfo, *x850_world);
x850_world->IGetMapWorld()->RecalculateWorldSphere(*x8c0_mapWorldInfo, *x850_world);
}
void CStateManager::AreaUnloaded(TAreaId) {