Fixed color display in 3 strikes mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4819 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
6ef1b804a5
commit
c0543e1c69
@ -356,9 +356,9 @@ void RaceGUI::drawGlobalPlayerIcons(const KartIconDisplayInfo* info)
|
||||
|
||||
if (info[i].time.size() > 0)
|
||||
{
|
||||
static video::SColor color = video::SColor(255, (int)(255*info[i].r),
|
||||
(int)(255*info[i].g),
|
||||
(int)(255*info[i].b) );
|
||||
video::SColor color = video::SColor(255, (int)(255*info[i].r),
|
||||
(int)(255*info[i].g),
|
||||
(int)(255*info[i].b) );
|
||||
core::rect<s32> pos(x+ICON_PLAYER_WIDTH, y+5, x+ICON_PLAYER_WIDTH, y+5);
|
||||
core::stringw s=info[i].time.c_str();
|
||||
font->draw(s.c_str(), pos, color);
|
||||
|
Loading…
x
Reference in New Issue
Block a user