Fix an achievement's progress being displayed as -1

This commit is contained in:
Alayan 2018-10-07 16:09:47 +02:00
parent 18c2aa207f
commit 767b613389

View File

@ -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];