From 0105bb756423077d431a19197bd2fc32960ed03f Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 19 Apr 2019 08:30:06 +0200 Subject: [PATCH] - fixed uninitialized variable in scoreboard code. --- src/hu_scores.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hu_scores.cpp b/src/hu_scores.cpp index c8164499a..a053115e5 100644 --- a/src/hu_scores.cpp +++ b/src/hu_scores.cpp @@ -201,6 +201,7 @@ void HU_DrawScores (player_t *player) void HU_GetPlayerWidths(int &maxnamewidth, int &maxscorewidth, int &maxiconheight) { + displayFont = NewSmallFont; maxnamewidth = displayFont->StringWidth("Name"); maxscorewidth = 0; maxiconheight = 0;