- fixed uninitialized variable in scoreboard code.

This commit is contained in:
Christoph Oelckers 2019-04-19 08:30:06 +02:00
parent 0837178518
commit 0105bb7564

View file

@ -201,6 +201,7 @@ void HU_DrawScores (player_t *player)
void HU_GetPlayerWidths(int &maxnamewidth, int &maxscorewidth, int &maxiconheight) void HU_GetPlayerWidths(int &maxnamewidth, int &maxscorewidth, int &maxiconheight)
{ {
displayFont = NewSmallFont;
maxnamewidth = displayFont->StringWidth("Name"); maxnamewidth = displayFont->StringWidth("Name");
maxscorewidth = 0; maxscorewidth = 0;
maxiconheight = 0; maxiconheight = 0;