Actually display secret achievements once they have been achieved.

This commit is contained in:
hiker
2014-10-10 07:49:14 +11:00
parent 50c21cc11e
commit f39e2d9cdf

View File

@@ -103,7 +103,7 @@ void OnlineProfileAchievements::init()
{
std::vector<ListWidget::ListCell> row;
const Achievement *a = it->second;
if(a->getInfo()->isSecret())
if(a->getInfo()->isSecret() && !a->isAchieved())
continue;
ListWidget::ListCell title(a->getInfo()->getTitle(), -1, 2);
ListWidget::ListCell progress(a->getProgressAsString(), -1, 1);