summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_npc_grs.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_npc_grs.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_npc_grs.cpp')
-rw-r--r--src/d/actor/d_a_npc_grs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/actor/d_a_npc_grs.cpp b/src/d/actor/d_a_npc_grs.cpp
index ee704017c7..760b8a6139 100644
--- a/src/d/actor/d_a_npc_grs.cpp
+++ b/src/d/actor/d_a_npc_grs.cpp
@@ -259,7 +259,7 @@ int daNpc_grS_c::CreateHeap() {
}
int daNpc_grS_c::Delete() {
- fpc_ProcID unusedId = fopAcM_GetID(this);
+ fopAcM_RegisterDeleteID(this, "NPC_GRS");
this->~daNpc_grS_c();
return 1;
}