fix regswap, d_a_swtdoor match

This commit is contained in:
LagoLunatic
2023-10-21 00:25:43 -04:00
parent 8a87763207
commit faf9e5d12c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1303,7 +1303,7 @@ config.libs = [
ActorRel(NonMatching, "d_a_stone2"),
ActorRel(NonMatching, "d_a_swc00"),
ActorRel(NonMatching, "d_a_swhit0"),
ActorRel(NonMatching, "d_a_swtdoor"),
ActorRel(Matching, "d_a_swtdoor"),
ActorRel(NonMatching, "d_a_tag_attention"),
ActorRel(NonMatching, "d_a_tag_ba1"),
ActorRel(NonMatching, "d_a_tag_event"),
+1 -1
View File
@@ -85,7 +85,7 @@ s32 daSwtdoor_Create(fopAc_ac_c* i_ac) {
i_this->field_0x29c = 0;
i_this->mSwitchNo = (fopAcM_GetParam(i_this) >> 24) & 0xFF;
if (fopAcM_entrySolidHeap(i_this, useHeapInit, 0x3000) == 0)
if (fopAcM_entrySolidHeap(i_ac, useHeapInit, 0x3000) == 0)
return cPhs_ERROR_e;
fopAcM_SetMin(i_this, -2000.0f, -1000.0f, -2000.0f);