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
This commit is contained in:
hikerstk 2010-10-17 12:28:46 +00:00
parent f517feeeba
commit 5460aa2058

View File

@ -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;