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