From 767b613389ce053af861dfce8f04a91c3f786f4e Mon Sep 17 00:00:00 2001 From: Alayan Date: Sun, 7 Oct 2018 16:09:47 +0200 Subject: [PATCH] Fix an achievement's progress being displayed as -1 --- src/achievements/achievements_status.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/achievements/achievements_status.cpp b/src/achievements/achievements_status.cpp index 68fd79986..96da97694 100644 --- a/src/achievements/achievements_status.cpp +++ b/src/achievements/achievements_status.cpp @@ -441,7 +441,7 @@ void AchievementsStatus::updateAchievementsProgress(UpdateType type, unsigned in std::string goal_string[2]; int max_across_tracks = -1; int min_across_tracks = -1; - int max_kart_hits = -1; + int max_kart_hits = 0; if (type == UP_ACHIEVEMENT_DATA) { goal_string[0] = m_ach_enum_to_xml[(int)enum_id];