port over nametag improvements from 2ship (#5160)

This commit is contained in:
Archez
2025-05-17 01:09:23 -04:00
committed by GitHub
parent e673eaefb6
commit 9010b8c540
9 changed files with 193 additions and 70 deletions

View File

@@ -3466,6 +3466,9 @@ Actor* Actor_Delete(ActorContext* actorCtx, Actor* actor, PlayState* play) {
player = GET_PLAYER(play);
// Execute before actor memory is freed
GameInteractor_ExecuteOnActorDestroy(actor);
dbEntry = ActorDB_Retrieve(actor->id);
if (HREG(20) != 0) {