From 50d62cc1035ff9c32b03b16d4cda1d71dc6390e7 Mon Sep 17 00:00:00 2001 From: auria Date: Wed, 26 Jun 2013 01:23:05 +0000 Subject: [PATCH] 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 --- src/states_screens/dialogs/select_challenge.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/states_screens/dialogs/select_challenge.cpp b/src/states_screens/dialogs/select_challenge.cpp index 2b4f885cf..174d67358 100644 --- a/src/states_screens/dialogs/select_challenge.cpp +++ b/src/states_screens/dialogs/select_challenge.cpp @@ -137,6 +137,8 @@ SelectChallengeDialog::SelectChallengeDialog(const float percentWidth, LabelWidget* typeLbl = getWidget("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 );