2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:07:42 +00:00

Actually commit CWorld, fix CGameArea::Invalidate

This commit is contained in:
2017-11-02 16:36:37 -07:00
parent d7cd8ee7e9
commit e98fc22a2c
2 changed files with 7 additions and 4 deletions

View File

@@ -440,7 +440,7 @@ void CWorld::TravelToArea(TAreaId aid, CStateManager& mgr, bool skipLoadOther)
CGameArea* toDeallocateAreas = x4c_chainHeads[0];
while (toDeallocateAreas)
{
if (toDeallocateAreas->Invalidate(mgr))
if (toDeallocateAreas->Invalidate(&mgr))
{
MoveToChain(toDeallocateAreas, EChain::Deallocated);
break;