From 6afc18f9dc57277fa908c6848f97409a2caeaaa8 Mon Sep 17 00:00:00 2001 From: auria Date: Fri, 21 Oct 2011 01:14:59 +0000 Subject: [PATCH] Add a message for the ball git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10024 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/items/rubber_ball.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/items/rubber_ball.cpp b/src/items/rubber_ball.cpp index 7c0715588..3eb5fe269 100644 --- a/src/items/rubber_ball.cpp +++ b/src/items/rubber_ball.cpp @@ -299,13 +299,14 @@ void RubberBall::init(const XMLNode &node, scene::IMesh *bowling) */ const core::stringw RubberBall::getHitString(const Kart *kart) const { - const int COUNT = 1; + const int COUNT = 2; RandomGenerator r; switch (r.get(COUNT)) { //I18N: shown when a player is hit by a rubber ball. %1 is the // attacker, %0 is the victim. case 0: return _LTR("%s is being bounced around."); + case 1: return _LTR("Fetch the ball, %0!"); default:assert(false); return L""; // avoid compiler warning } } // getHitString