diff options
| author | roeming <brother64youyou@gmail.com> | 2026-01-17 08:52:32 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-17 15:52:32 +0200 |
| commit | d45b10d0fd2697b29f7a88e29456dda6cf0aeae6 (patch) | |
| tree | 82686f75b7f501b49e3bd9e97e3546c7493f5f30 /src/d/actor/d_a_npc_inko.cpp | |
| parent | 740387eb4fdea77e60dea9b265f41a7c564c9a32 (diff) | |
`fopAcM_Register` cleanup (#3047)
* use macro `fopAcM_Register` more consistently
* replace fopAcM_RegisterCreateID with version that doesn't create `a_this`
Diffstat (limited to 'src/d/actor/d_a_npc_inko.cpp')
| -rw-r--r-- | src/d/actor/d_a_npc_inko.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/actor/d_a_npc_inko.cpp b/src/d/actor/d_a_npc_inko.cpp index a1ad459fdc..b5e812256a 100644 --- a/src/d/actor/d_a_npc_inko.cpp +++ b/src/d/actor/d_a_npc_inko.cpp @@ -407,7 +407,7 @@ static int daNpc_Inko_IsDelete(npc_inko_class* i_this) { static int daNpc_Inko_Delete(npc_inko_class* i_this) { fopAc_ac_c* actor = (fopAc_ac_c*)i_this; - fpc_ProcID id = fopAcM_GetID(i_this); + fopAcM_RegisterDeleteID(i_this, "Npc_Inko"); dComIfG_resDelete(&i_this->phase, "Npc_inko"); if (actor->heap != NULL) { |
