Fixed missing music (and count down) in demo mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11226 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
a526fef588
commit
04c3624d63
@ -37,6 +37,10 @@ bool DemoWorld::m_do_demo = false;
|
||||
*/
|
||||
DemoWorld::DemoWorld()
|
||||
{
|
||||
// Profile mode sets the phase to RACE_PHASE, which means the track intro
|
||||
// is not shown, the music is not start, no countdown. So reset it to
|
||||
// the correct value.
|
||||
setPhase(SETUP_PHASE);
|
||||
m_abort = false;
|
||||
ProfileWorld::setProfileModeLaps(m_num_laps);
|
||||
race_manager->setReverseTrack(false);
|
||||
|
Loading…
Reference in New Issue
Block a user