diff --git a/configure.py b/configure.py index 9f0b8a1f5..f322bc4f9 100644 --- a/configure.py +++ b/configure.py @@ -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"), diff --git a/src/d/actor/d_a_swtdoor.cpp b/src/d/actor/d_a_swtdoor.cpp index ba7a870cb..0181d4128 100644 --- a/src/d/actor/d_a_swtdoor.cpp +++ b/src/d/actor/d_a_swtdoor.cpp @@ -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);