From 39ccf7dfb9f4a4cf079b115c470a50bda751b441 Mon Sep 17 00:00:00 2001 From: auria Date: Tue, 1 Jun 2010 00:14:24 +0000 Subject: [PATCH] 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 --- src/states_screens/grand_prix_lose.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/states_screens/grand_prix_lose.cpp b/src/states_screens/grand_prix_lose.cpp index 88a13b68f..a7b35989b 100644 --- a/src/states_screens/grand_prix_lose.cpp +++ b/src/states_screens/grand_prix_lose.cpp @@ -60,8 +60,7 @@ void GrandPrixLose::loadedFromFile() void GrandPrixLose::init() { - // TODO: change music - music_manager->startMusic(music_manager->getMusicInformation(file_manager->getMusicFile("win_theme.music"))); + music_manager->startMusic(music_manager->getMusicInformation(file_manager->getMusicFile("lose_theme.music"))); m_phase = 1; m_sky_angle = 0.0f; @@ -69,7 +68,7 @@ void GrandPrixLose::init() m_sky = irr_driver->addSkyDome(file_manager->getTextureFile("clouds.png"), 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_x = CAMERA_START_X;