Play lose music upon losing GP

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5463 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2010-06-01 00:14:24 +00:00
parent 99626ff944
commit 39ccf7dfb9

View File

@ -60,8 +60,7 @@ void GrandPrixLose::loadedFromFile()
void GrandPrixLose::init() void GrandPrixLose::init()
{ {
// TODO: change music music_manager->startMusic(music_manager->getMusicInformation(file_manager->getMusicFile("lose_theme.music")));
music_manager->startMusic(music_manager->getMusicInformation(file_manager->getMusicFile("win_theme.music")));
m_phase = 1; m_phase = 1;
m_sky_angle = 0.0f; m_sky_angle = 0.0f;
@ -69,7 +68,7 @@ void GrandPrixLose::init()
m_sky = irr_driver->addSkyDome(file_manager->getTextureFile("clouds.png"), m_sky = irr_driver->addSkyDome(file_manager->getTextureFile("clouds.png"),
16 /* hori_res */, 16 /* vert_res */, 16 /* hori_res */, 16 /* vert_res */,
1.0f /* texture_percent */, 2.0f /* sphere_percent */); 1.0f /* texture_percent */, 2.0f /* sphere_percent */);
m_camera = irr_driver->addCameraSceneNode(); m_camera = irr_driver->addCameraSceneNode();
m_camera_x = CAMERA_START_X; m_camera_x = CAMERA_START_X;