Renamed variable, since "ERROR" is apparantly reserved/used.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1604 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
429d63e0bb
commit
9f6f5f6209
@ -119,8 +119,9 @@ bool SFXImpl::load(const char* filename)
|
||||
m_soundBuffer = alutCreateBufferFromFile( path.c_str() );
|
||||
if( m_soundBuffer == AL_NONE )
|
||||
{
|
||||
const int ERROR = alutGetError();
|
||||
fprintf(stderr, "Error 1b loading SFX: %s failed because %s \n", path.c_str(), alutGetErrorString(ERROR));
|
||||
const int ALUT_ERROR = alutGetError();
|
||||
fprintf(stderr, "Error 1b loading SFX: %s failed because %s \n", path.c_str(),
|
||||
alutGetErrorString(ALUT_ERROR));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user