Browse Source

Merge pull request #261 from greenfire27/Alx-Error-Fix

Corrects Default Error Report for Audio.cc
Peter Robinson 10 years ago
parent
commit
ed29f79914
1 changed files with 1 additions and 1 deletions
  1. 1 1
      engine/source/audio/audio.cc

+ 1 - 1
engine/source/audio/audio.cc

@@ -2188,7 +2188,7 @@ bool alxCheckError(const char* sourceFuncName, const char* alFuncName)
       Con::errorf("%s - %s OpenAL AL_OUT_OF_MEMORY error code returned", sourceFuncName, alFuncName);
       break;
     default:
-      Con::errorf("%s - %s OpenAL has encountered a problem and won't tell us what it is. %d", errorVal, sourceFuncName, alFuncName);
+      Con::errorf("%s - %s OpenAL has encountered a problem and won't tell us what it is. %d", sourceFuncName, alFuncName, errorVal);
   };
   if (errorVal == AL_NO_ERROR)
     return true;