From 68bb78ca36b053e71ad4d21e5de48b54ddb2b070 Mon Sep 17 00:00:00 2001 From: hikerstk Date: Thu, 5 May 2011 01:54:31 +0000 Subject: [PATCH] Made 'notes.png' permanent (which is atm redundant since it's listed in textures/materials.xml and therefore already is permanent - but just in case that we remove it some day). git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8517 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/states_screens/race_gui_base.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/states_screens/race_gui_base.cpp b/src/states_screens/race_gui_base.cpp index 04379b7a9..5ff712130 100644 --- a/src/states_screens/race_gui_base.cpp +++ b/src/states_screens/race_gui_base.cpp @@ -46,13 +46,15 @@ RaceGUIBase::RaceGUIBase() m_lightning = 0.0f; m_max_font_height = GUIEngine::getFontHeight() + 10; m_small_font_max_height = GUIEngine::getSmallFontHeight() + 5; - m_music_icon = material_manager->getMaterial("notes.png"); //I18N: as in "ready, set, go", shown at the beginning of the race m_string_ready = _("Ready!"); m_string_set = _("Set!"); m_string_go = _("Go!"); // Make the two materials permanent (in case that they are not listed // in the textures/materials.xml file). + m_music_icon = material_manager->getMaterial("notes.png", + /*full path*/false, + /*permanent*/true); m_plunger_face = material_manager->getMaterial("plungerface.png", /*full path*/false, /*permanent*/true);