Minor clarification in challenge dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12981 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
b43c6eb4be
commit
50d62cc103
@ -137,6 +137,8 @@ SelectChallengeDialog::SelectChallengeDialog(const float percentWidth,
|
||||
LabelWidget* typeLbl = getWidget<LabelWidget>("race_type_val");
|
||||
if (c->getData()->isGrandPrix())
|
||||
typeLbl->setText(_("Grand Prix"), false );
|
||||
else if (c->getData()->getEnergy(RaceManager::DIFFICULTY_EASY) > 0)
|
||||
typeLbl->setText(_("Nitro challenge"), false );
|
||||
else
|
||||
typeLbl->setText( RaceManager::getNameOf(c->getData()->getMinorMode()), false );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user