mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
- fixed uninitialized variable in scoreboard code.
This commit is contained in:
parent
0837178518
commit
0105bb7564
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue