Don't show lap message on last lap
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6822 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
c6607f4dbc
commit
4447f3431e
@ -306,7 +306,7 @@ void LinearWorld::newLap(unsigned int kart_index)
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (kart_info.m_race_lap > 0)
|
||||
else if (kart_info.m_race_lap > 0 && kart_info.m_race_lap+1 < lap_count)
|
||||
{
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user