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

Fix IGetAreaId and rename GetAreaId to GetAreaIndex

This commit is contained in:
2020-10-20 03:03:11 -07:00
parent 3ffa15cfa3
commit a8d8eb0dde
7 changed files with 18 additions and 18 deletions

View File

@@ -364,7 +364,7 @@ CScriptDoor::EDoorOpenCondition CScriptDoor::GetDoorOpenCondition(CStateManager&
}
for (const CGameArea& aliveArea : *world) {
if (aliveArea.GetAreaId() == area->GetAreaId()) {
if (aliveArea.GetAreaIndex() == area->GetAreaIndex()) {
continue;
}