From 6703e07446cc4c733df2ca0205f96fca1b0f1f38 Mon Sep 17 00:00:00 2001
From: Thomas LEBRET
Date: Mon, 25 May 2026 19:31:23 +0200
Subject: dSndSourceEnemyAnim_c::overrideStartSoundId, overrideHoldSoundId OK
---
include/d/snd/d_snd_source_enemy.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
(limited to 'include')
diff --git a/include/d/snd/d_snd_source_enemy.h b/include/d/snd/d_snd_source_enemy.h
index 8088765d..4277b7c4 100644
--- a/include/d/snd/d_snd_source_enemy.h
+++ b/include/d/snd/d_snd_source_enemy.h
@@ -30,13 +30,15 @@ public:
return specializeBgHitSoundId(soundId, mPolyAttr0, mPolyAttr1);
}
+protected:
+ void unregisterEnemySource();
+
private:
// Probably not a problem for weak function order since getName is emitted
// earlier through an explicit call
bool isName(const char *name) const {
return streq(name, getName());
}
- void unregisterEnemySource();
/* 0x15C */ nw4r::ut::Node mMgrEnemyLink;
/* 0x164 */ UNKWORD field_0x164;
--
cgit v1.2.3