aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--linden/indra/llaudio/audioengine_openal.cpp4
-rw-r--r--linden/indra/llaudio/listener_openal.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/llaudio/audioengine_openal.cpp b/linden/indra/llaudio/audioengine_openal.cpp
index 606d9f6..85d2080 100644
--- a/linden/indra/llaudio/audioengine_openal.cpp
+++ b/linden/indra/llaudio/audioengine_openal.cpp
@@ -321,10 +321,10 @@ void LLAudioEngine_OpenAL::updateWind(LLVector3 wind_vec, F32 camera_altitude)
321 321
322 mMaxWindGain=1.0; 322 mMaxWindGain=1.0;
323 323
324 if (!mEnableWind) 324 if (mEnableWind)
325 return; 325 return;
326 326
327 if(!winddata) 327 if(winddata)
328 return; 328 return;
329 329
330 if (mWindUpdateTimer.checkExpirationAndReset(LL_WIND_UPDATE_INTERVAL)) 330 if (mWindUpdateTimer.checkExpirationAndReset(LL_WIND_UPDATE_INTERVAL))
diff --git a/linden/indra/llaudio/listener_openal.h b/linden/indra/llaudio/listener_openal.h
index 737343e..33063bb 100644
--- a/linden/indra/llaudio/listener_openal.h
+++ b/linden/indra/llaudio/listener_openal.h
@@ -35,8 +35,8 @@
35 35
36#include "listener.h" 36#include "listener.h"
37 37
38#include "AL/al.h" 38#include "al.h"
39#include "AL/alut.h" 39#include "alut.h"
40 40
41class LLListener_OpenAL : public LLListener 41class LLListener_OpenAL : public LLListener
42{ 42{