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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user