From e0ff3f3122daa1a379f833ae0f9372f0814db8d1 Mon Sep 17 00:00:00 2001 From: auria Date: Mon, 20 Apr 2009 18:10:58 +0000 Subject: [PATCH] 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 --- src/gui/state_manager.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/gui/state_manager.cpp b/src/gui/state_manager.cpp index c95f8540f..c0248b84f 100644 --- a/src/gui/state_manager.cpp +++ b/src/gui/state_manager.cpp @@ -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(); }