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:
parent
7c365ee1ea
commit
e0ff3f3122
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user