Don't let other objects set text color of desync/quit/drop icons' player numbers.
(Same for font size. — Cyp)master
parent
5afffc2f9b
commit
7ed3f2291d
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue