Somewhat improve what happens when you lose Follow-The-Leader. Also make it more obvious to players they are in FTL mode, we got some reports of players confused in the FTL challenge

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14337 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2013-10-29 00:58:57 +00:00
parent d507cf8e7d
commit 0c5eb2b115
2 changed files with 6 additions and 2 deletions

View File

@ -839,8 +839,10 @@ void Kart::finishedRace(float time)
RaceGUIBase* m = World::getWorld()->getRaceGUI();
if(m)
{
m->addMessage((getPosition() == 2 ? _("You won the race!") : _("You finished the race!")) ,
this, 2.0f);
if (getPosition() == 2)
m->addMessage(_("You won the race!"), this, 2.0f);
else
m->addMessage(_("You have been eliminated!"), this, 2.0f);
}
}
else if (race_manager->getMinorMode() == RaceManager::MINOR_MODE_3_STRIKES ||

View File

@ -728,6 +728,8 @@ void RaceGUIBase::drawGlobalReadySetGo()
if (race_manager->getCoinTarget() > 0)
font->draw(_("Collect nitro!"), pos, color, true, true);
else if (race_manager->getMinorMode() == RaceManager::MINOR_MODE_FOLLOW_LEADER)
font->draw(_("Follow the leader!"), pos, color, true, true);
else
font->draw(m_string_go.c_str(), pos, color, true, true);
}