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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user