aboutsummaryrefslogtreecommitdiff
path: root/sword2/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sword2/sound.cpp')
-rw-r--r--sword2/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/sound.cpp b/sword2/sound.cpp
index c062ec081e..21128b3450 100644
--- a/sword2/sound.cpp
+++ b/sword2/sound.cpp
@@ -160,7 +160,7 @@ int32 Logic::fnPlayFx(int32 *params) {
_standardHeader *header;
#endif
- if (wantSfxDebug) {
+ if (g_sword2->_wantSfxDebug) {
char type[10];
switch (params[1]) { // 'type'