Fix #494: thunderbird disappears if the game is paused while the countdown is being shown.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10153 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
9b92ef8e09
commit
8c6c38592e
@ -440,6 +440,11 @@ void RaceGUIBase::update(float dt)
|
||||
m_referee->selectReadySetGo(world->getPhase()==World::SET_PHASE
|
||||
? 1 : 0);
|
||||
}
|
||||
else if(world->getPhase()==World::IN_GAME_MENU_PHASE)
|
||||
{
|
||||
// Don't do anything, without this the next clause
|
||||
// would completely remove thunderbird.
|
||||
}
|
||||
else if(m_referee->isAttached()) // race phase:
|
||||
{
|
||||
m_referee->removeFromSceneGraph();
|
||||
|
Loading…
Reference in New Issue
Block a user