Add a small message explaining penalty time a bit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7840 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
53f68556eb
commit
15b76ec5dc
@ -278,7 +278,8 @@ void PlayerController::update(float dt)
|
||||
RaceGUIBase* m=World::getWorld()->getRaceGUI();
|
||||
if(m)
|
||||
{
|
||||
m->addMessage(_("Penalty time!!"), m_kart, 2.0f, 60);
|
||||
m->addMessage(_("Penalty time!!"), m_kart, 2.0f, 90, video::SColor(255, 255, 128, 0));
|
||||
m->addMessage(_("Don't accelerate before go"), m_kart, 2.0f, 60, video::SColor(255, 210, 100, 50));
|
||||
}
|
||||
m_bzzt_sound->play();
|
||||
} // if penalty_time = 0
|
||||
|
Loading…
Reference in New Issue
Block a user