Apply patch by riebl : fix possible crash when OpenAL was disabled

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10932 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2012-03-06 16:33:06 +00:00
parent 8391f085ce
commit 62d76f1405

View File

@ -296,7 +296,7 @@ void SFXManager::dump()
{
for(int n=0; n<(int)m_all_sfx.size(); n++)
{
printf("Sound %i : %s \n", n, ((SFXOpenAL*)m_all_sfx[n])->getBuffer()->getFileName().c_str());
printf("Sound %i : %s \n", n, m_all_sfx[n]->getBuffer()->getFileName().c_str());
}
}