From 8db239d34f568ea8a660d24584992e64f47fc5ef Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Tue, 18 Apr 2017 16:40:31 +0300 Subject: [PATCH] Fixed build with NO_OPENAL defined https://mantis.zdoom.org/view.php?id=596 --- src/sound/oalsound.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/sound/oalsound.cpp b/src/sound/oalsound.cpp index f173903ec0..f897e66b5d 100644 --- a/src/sound/oalsound.cpp +++ b/src/sound/oalsound.cpp @@ -122,6 +122,10 @@ void I_BuildALDeviceList(FOptionValues *opt) #endif } + +ReverbContainer *ForcedEnvironment; + + #ifndef NO_OPENAL @@ -630,8 +634,6 @@ public: }; -ReverbContainer *ForcedEnvironment; - #define AREA_SOUND_RADIUS (32.f) #define PITCH_MULT (0.7937005f) /* Approx. 4 semitones lower; what Nash suggested */