Removed warning that are constantly printed on stdout if sfx

are disables (Auria, I assume this is the right way to do
this?)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8351 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk
2011-04-14 11:49:47 +00:00
parent 54dac6c155
commit 8b22aba2b5

View File

@@ -220,6 +220,8 @@ void SFXOpenAL::play()
*/
void SFXOpenAL::position(const Vec3 &position)
{
if(!UserConfigParams::m_sfx)
return;
if (!m_ok)
{
fprintf(stderr, "WARNING, position called on non-ok SFX\n");