small cleanup over previous commit

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3410 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2009-04-20 18:10:58 +00:00
parent 7c365ee1ea
commit e0ff3f3122

View File

@ -380,11 +380,7 @@ namespace StateManager
}
sample_sound->position ( Vec3(0,0,0) );
if(sample_sound->getStatus() == SFXManager::SFX_PLAYING)
{
//sample_sound->volume(1.0);
}
else
if(sample_sound->getStatus() != SFXManager::SFX_PLAYING)
{
sample_sound->play();
}