Show a message on every lap
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6812 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
54fe76434c
commit
3fe9acd0e9
@ -306,6 +306,11 @@ void LinearWorld::newLap(unsigned int kart_index)
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
||||
// The race positions must be updated here: consider the situation where
|
||||
// the first kart does not cross the finish line in its last lap, instead
|
||||
|
Loading…
Reference in New Issue
Block a user