Don't let other objects set text color of desync/quit/drop icons' player numbers.

(Same for font size. — Cyp)
master
Subsentient 2013-01-18 19:13:58 -07:00 committed by Cyp
parent 5afffc2f9b
commit 7ed3f2291d
1 changed files with 2 additions and 0 deletions

View File

@ -564,9 +564,11 @@ static void NetworkDisplayImage(WIDGET *psWidget, UDWORD xOffset, UDWORD yOffset
} }
players[c] = '\0'; players[c] = '\0';
iV_SetFont(font_regular);
width = iV_GetTextWidth(players) + 10; width = iV_GetTextWidth(players) + 10;
height = iV_GetTextHeight(players) + 10; height = iV_GetTextHeight(players) + 10;
iV_SetTextColour(WZCOL_TEXT_BRIGHT);
iV_DrawText(players, x - width, y + height); iV_DrawText(players, x - width, y + height);
} }