CStateManager: Fix CMapWorld const reference

This commit is contained in:
Luke Street 2020-03-18 01:18:00 -04:00
parent 9e05819f05
commit 36ac0a8d78
1 changed files with 1 additions and 1 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->GetMapWorld()->RecalculateWorldSphere(*x8c0_mapWorldInfo, *x850_world);
x850_world->IMapWorld()->RecalculateWorldSphere(*x8c0_mapWorldInfo, *x850_world);
}
void CStateManager::AreaUnloaded(TAreaId) {