From 15b76ec5dcd9f29b4aabb297654cfbe67a601511 Mon Sep 17 00:00:00 2001
From: auria <auria@178a84e3-b1eb-0310-8ba1-8eac791a3b58>
Date: Mon, 7 Mar 2011 00:22:26 +0000
Subject: [PATCH] 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
---
 src/karts/controller/player_controller.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/karts/controller/player_controller.cpp b/src/karts/controller/player_controller.cpp
index 3fc28c123..89b91c80c 100644
--- a/src/karts/controller/player_controller.cpp
+++ b/src/karts/controller/player_controller.cpp
@@ -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