summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_e_fb.cpp
diff options
context:
space:
mode:
authorroeming <brother64youyou@gmail.com>2026-01-17 08:52:32 -0500
committerGitHub <noreply@github.com>2026-01-17 15:52:32 +0200
commitd45b10d0fd2697b29f7a88e29456dda6cf0aeae6 (patch)
tree82686f75b7f501b49e3bd9e97e3546c7493f5f30 /src/d/actor/d_a_e_fb.cpp
parent740387eb4fdea77e60dea9b265f41a7c564c9a32 (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_fb.cpp')
-rw-r--r--src/d/actor/d_a_e_fb.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/d/actor/d_a_e_fb.cpp b/src/d/actor/d_a_e_fb.cpp
index 73bebf54ed..807bf0a0c7 100644
--- a/src/d/actor/d_a_e_fb.cpp
+++ b/src/d/actor/d_a_e_fb.cpp
@@ -817,12 +817,6 @@ void daE_FB_c::dead_eff_set() {
}
}
-#if DEBUG
-static char* dummy_117771() {
- return "Delete -> E_FB(id=%d)\n";
-}
-#endif
-
int daE_FB_c::execute() {
if (field_0x69c != 0) {
--field_0x69c;
@@ -869,7 +863,7 @@ int daE_FB_c::_delete() {
}
static int daE_FB_Delete(daE_FB_c* i_this) {
- int id = fopAcM_GetID(i_this);
+ fopAcM_RegisterDeleteID(i_this, "E_FB");
return static_cast<daE_FB_c*>(i_this)->_delete();
}