[Orxonox-commit 3441] r8128 - code/branches/mac_osx/src/orxonox/sound

rgrieder at orxonox.net rgrieder at orxonox.net
Sat Mar 26 21:40:13 CET 2011


Author: rgrieder
Date: 2011-03-26 21:40:13 +0100 (Sat, 26 Mar 2011)
New Revision: 8128

Modified:
   code/branches/mac_osx/src/orxonox/sound/SoundManager.cc
Log:
Fix

Modified: code/branches/mac_osx/src/orxonox/sound/SoundManager.cc
===================================================================
--- code/branches/mac_osx/src/orxonox/sound/SoundManager.cc	2011-03-26 20:37:51 UTC (rev 8127)
+++ code/branches/mac_osx/src/orxonox/sound/SoundManager.cc	2011-03-26 20:40:13 UTC (rev 8128)
@@ -325,7 +325,7 @@
     {
         alListener3f(AL_POSITION, position.x, position.y, position.z);
         ALenum error = alGetError();
-        if (error == AL_INVALID_VALUE) {}
+        if (error == AL_INVALID_VALUE)
             // @TODO: Follow this constantly appearing, nerve-racking warning
             COUT(2) << "Sound: OpenAL: Invalid listener position" << std::endl;
     }




More information about the Orxonox-commit mailing list