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:
parent
f517feeeba
commit
5460aa2058
@ -919,14 +919,7 @@ void RaceGUI::drawLap(const KartIconDisplayInfo* info, const Kart* kart,
|
|||||||
gui::ScalableFont* font = GUIEngine::getFont();
|
gui::ScalableFont* font = GUIEngine::getFont();
|
||||||
int font_height = (int)(font->getDimension(L"X").Height);
|
int font_height = (int)(font->getDimension(L"X").Height);
|
||||||
|
|
||||||
if (kart->hasFinishedRace())
|
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
|
|
||||||
{
|
{
|
||||||
static video::SColor color = video::SColor(255, 255, 255, 255);
|
static video::SColor color = video::SColor(255, 255, 255, 255);
|
||||||
pos.UpperLeftCorner.Y -= 3*font_height;
|
pos.UpperLeftCorner.Y -= 3*font_height;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user