From b83f850cd46d811b78ab1b093a2e3bde7a072d30 Mon Sep 17 00:00:00 2001 From: auria Date: Tue, 30 Nov 2010 02:07:38 +0000 Subject: [PATCH] Don't show lap message on first lap git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6813 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/modes/linear_world.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modes/linear_world.cpp b/src/modes/linear_world.cpp index c03889a34..d216c2ba1 100644 --- a/src/modes/linear_world.cpp +++ b/src/modes/linear_world.cpp @@ -306,7 +306,7 @@ void LinearWorld::newLap(unsigned int kart_index) } } } - else + else if (kart_info.m_race_lap > 0) { m_race_gui->addMessage(StringUtils::insertValues(_("Lap %i"), kart_info.m_race_lap+1), m_karts[kart_index], 3.0f, 40, video::SColor(255, 210, 100, 50), true);