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_e_cr.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_e_cr.cpp')
| -rw-r--r-- | src/d/actor/d_a_e_cr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/actor/d_a_e_cr.cpp b/src/d/actor/d_a_e_cr.cpp index d606d9eaaf..4c360fdece 100644 --- a/src/d/actor/d_a_e_cr.cpp +++ b/src/d/actor/d_a_e_cr.cpp @@ -443,7 +443,7 @@ static int daE_CR_IsDelete(e_cr_class* a_this) { static int daE_CR_Delete(e_cr_class* a_this) { fopEn_enemy_c* actor = &a_this->enemy; - fpc_ProcID id = fopAcM_GetID(a_this); + fopAcM_RegisterDeleteID(a_this, "E_CR"); dComIfG_resDelete(&a_this->phase, "E_CR"); if (a_this->HIOInit) { |
