Do not stop music during tutorial

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12607 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria
2013-04-04 23:14:52 +00:00
parent 3cd4cc1cad
commit 94cd32d20d
2 changed files with 11 additions and 0 deletions

View File

@@ -4,6 +4,13 @@
#include "physics/physics.hpp"
#include "tracks/track.hpp"
TutorialWorld::TutorialWorld()
{
m_stop_music_when_dialog_open = false;
}
// -----------------------------------------------------------------------------
void TutorialWorld::moveKartAfterRescue(AbstractKart* kart)
{
float angle = 0;
@@ -47,6 +54,7 @@ void TutorialWorld::moveKartAfterRescue(AbstractKart* kart)
"on track %s.\n",
(kart->getIdent().c_str()), m_track->getIdent().c_str());
}
} // moveKartAfterRescue
// -----------------------------------------------------------------------------

View File

@@ -9,6 +9,9 @@ class TutorialWorld : public StandardRace
private:
btTransform getClosestStartPoint(float currentKart_x, float currentKart_z);
public:
TutorialWorld();
virtual void moveKartAfterRescue(AbstractKart* kart) OVERRIDE;
};