From 5460aa20585d0f2be4df75dc122254561bdd04f0 Mon Sep 17 00:00:00 2001 From: hikerstk Date: Sun, 17 Oct 2010 12:28:46 +0000 Subject: [PATCH] Removed double display of 'finished' for laps and rank. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6297 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/states_screens/race_gui.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/states_screens/race_gui.cpp b/src/states_screens/race_gui.cpp index 51831f8e3..8e3b4c1c2 100644 --- a/src/states_screens/race_gui.cpp +++ b/src/states_screens/race_gui.cpp @@ -919,14 +919,7 @@ void RaceGUI::drawLap(const KartIconDisplayInfo* info, const Kart* kart, gui::ScalableFont* font = GUIEngine::getFont(); int font_height = (int)(font->getDimension(L"X").Height); - if (kart->hasFinishedRace()) - { - static video::SColor color = video::SColor(255, 255, 255, 255); - pos.UpperLeftCorner.Y -= 2*font_height; - pos.LowerRightCorner = pos.UpperLeftCorner; - font->draw(m_string_finished.c_str(), pos, color); - } - else + if (!kart->hasFinishedRace()) { static video::SColor color = video::SColor(255, 255, 255, 255); pos.UpperLeftCorner.Y -= 3*font_height;