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:
parent
8d0827dcd0
commit
a0917dd60e
@ -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++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user