diff options
| author | Max Roncace <me@caseif.net> | 2025-12-11 18:34:16 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-11 15:34:16 -0800 |
| commit | 8ad2d661a2c33a3c3e60d2a7089c9f5463ae2ab0 (patch) | |
| tree | e60bbe0b605fa455fc8bdabb8b38dccf5ff0e629 /src/Z2AudioLib/Z2SoundObject.cpp | |
| parent | ae4ad9f47779db56713bca41f6535bea31ec5490 (diff) | |
Clean up conditional compilation a bit (#2943)
Diffstat (limited to 'src/Z2AudioLib/Z2SoundObject.cpp')
| -rw-r--r-- | src/Z2AudioLib/Z2SoundObject.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Z2AudioLib/Z2SoundObject.cpp b/src/Z2AudioLib/Z2SoundObject.cpp index e6d48cdc59..b2738d2549 100644 --- a/src/Z2AudioLib/Z2SoundObject.cpp +++ b/src/Z2AudioLib/Z2SoundObject.cpp @@ -14,7 +14,7 @@ #endif Z2SoundObjBase::Z2SoundObjBase() -#if VERSION == VERSION_SHIELD_DEBUG +#if DEBUG : JSULink<Z2SoundObjBase>(this) #endif { @@ -30,7 +30,7 @@ Z2SoundObjBase::~Z2SoundObjBase() { } void Z2SoundObjBase::init(Vec* posPtr, u8 handleNum) { - #if VERSION == VERSION_SHIELD_DEBUG + #if DEBUG Z2GetSoundObjMgr()->getAllList()->append(this); #endif @@ -40,7 +40,7 @@ void Z2SoundObjBase::init(Vec* posPtr, u8 handleNum) { } void Z2SoundObjBase::deleteObject() { - #if VERSION == VERSION_SHIELD_DEBUG + #if DEBUG Z2GetSoundObjMgr()->getAllList()->remove(this); #endif |
