Added a FIXME explaining the cause of some bug; didn't fix the bug yet, though, cause I'm not sure what the best way to fix it is. Will need to discuss with Joerg

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5267 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2010-04-25 18:11:36 +00:00
parent 8cc06205e4
commit 1ced2b17cd

View File

@ -619,7 +619,11 @@ void RaceGUI::drawLap(const KartIconDisplayInfo* info, const Kart* kart,
+ (int)(0.15f*UserConfigParams::m_width*scaling.X);
pos.UpperLeftCorner.Y = viewport.LowerRightCorner.Y;
gui::IGUIFont* font = GUIEngine::getFont();
//FIXME: font height is multiplied by "scaling.Y" here, but the font itself is actually not scaled,
// resulting in overlapping of the two lines
int font_height = (int)(font->getDimension(L"X").Height*scaling.Y);
if (kart->hasFinishedRace())
{
static video::SColor color = video::SColor(255, 255, 255, 255);