From e74c19830110ee878b254186e87ddaa3f816fdb5 Mon Sep 17 00:00:00 2001 From: Benau Date: Fri, 10 Sep 2021 15:56:10 +0800 Subject: [PATCH] Fix uninitialized m_curr_time --- src/states_screens/dialogs/high_score_info_dialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/states_screens/dialogs/high_score_info_dialog.cpp b/src/states_screens/dialogs/high_score_info_dialog.cpp index 2b96ec5aa..e6feb47ec 100644 --- a/src/states_screens/dialogs/high_score_info_dialog.cpp +++ b/src/states_screens/dialogs/high_score_info_dialog.cpp @@ -47,6 +47,7 @@ HighScoreInfoDialog::HighScoreInfoDialog(Highscores* highscore, bool is_linear, { m_hs = highscore; m_major_mode = major_mode; + m_curr_time = 0.0f; loadFromFile("high_score_info_dialog.stkgui");