diff options
| author | Max Roncace <me@caseif.net> | 2025-12-06 16:34:47 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-06 13:34:47 -0800 |
| commit | a30e617e5a9b8264053788429a587ee1763eae73 (patch) | |
| tree | d4f3dbf04e754e5741ba35b1ba1083851be87597 /src/Z2AudioLib/Z2EnvSeMgr.cpp | |
| parent | 9f1a6488512209cc1acc612aa390e9a4686037ca (diff) | |
Various debug conditional compilation cleanup (#2915)
* Global: Define DEBUG as 0 if not already defined
* Clean up DEBUG-guarded code
Diffstat (limited to 'src/Z2AudioLib/Z2EnvSeMgr.cpp')
| -rw-r--r-- | src/Z2AudioLib/Z2EnvSeMgr.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Z2AudioLib/Z2EnvSeMgr.cpp b/src/Z2AudioLib/Z2EnvSeMgr.cpp index 7bd284d543..0c6884b9a2 100644 --- a/src/Z2AudioLib/Z2EnvSeMgr.cpp +++ b/src/Z2AudioLib/Z2EnvSeMgr.cpp @@ -4,7 +4,7 @@ #include "d/d_save.h" #include "d/d_com_inf_game.h" -#ifdef DEBUG +#if DEBUG static const char* sSpotName[] = { "F_SP00", "F_SP103", @@ -1039,7 +1039,7 @@ void Z2EnvSeMgr::setHyrulSewerOpen(bool isSewerOpen) { } bool Z2EnvSeMgr::startRiverSe(s8 param_1) { - #ifdef DEBUG + #if DEBUG const char** spotName = sSpotName; #endif @@ -1271,7 +1271,7 @@ void Z2EnvSeMgr::registEtcSePos(Vec* posPtr) { } bool Z2EnvSeMgr::startEtcSe(s8 reverb) { - #ifdef DEBUG + #if DEBUG const char** spotName = sSpotName; #endif |
