parse "total" cards in set infor

This commit is contained in:
Anthony Calosa
2016-07-01 22:09:08 +08:00
parent 6ce67a95a2
commit 6dc69ded22
3 changed files with 8 additions and 1 deletions

View File

@@ -108,6 +108,8 @@ void GameStateAwards::Start()
if (!si->author.size())
sprintf(buf, _("%i cards.").c_str(), si->totalCards());
else if (si->year > 0 && si->total > 0)
sprintf(buf, _("%s (%i): %i/%i cards").c_str(), si->author.c_str(), si->year, si->totalCards(), si->total);
else if (si->year > 0)
sprintf(buf, _("%s (%i): %i cards").c_str(), si->author.c_str(), si->year, si->totalCards());
else