Show challenge description for solved challenges too

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4873 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2010-02-28 02:05:38 +00:00
parent 8d0827dcd0
commit a0917dd60e

View File

@ -73,7 +73,8 @@ namespace GUIEngine
for (int n=0; n<solvedChallengeAmount; n++)
{
// TODO : add bronze/silver/gold difficulties to challenges
w->addItem(solvedChallenges[n]->getName(), solvedChallenges[n]->getId(), "/textures/cup_gold.png");
w->addItem(activeChallenges[n]->getName() + L"\n" + activeChallenges[n]->getChallengeDescription(),
solvedChallenges[n]->getId(), "/textures/cup_gold.png");
}
for (int n=0; n<lockedChallengeAmount; n++)
{