Display correct results for achieved achievements.
This commit is contained in:
parent
a5f9d26f88
commit
cecb725228
@ -117,6 +117,11 @@ irr::core::stringw Achievement::getProgressAsString() const
|
||||
{
|
||||
int progress = 0;
|
||||
std::map<std::string, int>::const_iterator iter;
|
||||
|
||||
// For now return N/N in case of an achieved achievement.
|
||||
if (m_achieved)
|
||||
return getInfo()->toString() +"/" + getInfo()->toString();
|
||||
|
||||
switch (m_achievement_info->getCheckType())
|
||||
{
|
||||
case AchievementInfo::AC_ALL_AT_LEAST:
|
||||
|
Loading…
x
Reference in New Issue
Block a user