Fixed "Penaly message erase by Go message" bug (#1948464).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1892 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
8793721aaf
commit
7e34effde7
@ -964,7 +964,10 @@ void RaceGUI::drawStatusText(const float dt)
|
||||
20, 20, 200 -i*20, COLORS );
|
||||
}
|
||||
}
|
||||
if(world->isStartPhase())
|
||||
// The penalty message needs to be displayed for up to one second
|
||||
// after the start of the race, otherwise it disappears if
|
||||
// "Go" is displayed and the race starts
|
||||
if(world->isStartPhase() || world->getTime()<1.0f)
|
||||
{
|
||||
for(unsigned int i=0; i<race_manager->getNumPlayers(); i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user