Bugfix: plunger would still move while the race is paused, resulting in players
being able to wait till the plunger is off screen. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12116 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -1030,6 +1030,8 @@ void RaceGUIBase::drawPlungerInFace(const AbstractKart *kart, float dt)
|
||||
m_plunger_state = PLUNGER_STATE_INIT;
|
||||
return;
|
||||
}
|
||||
if(World::getWorld()->getPhase()==World::IN_GAME_MENU_PHASE)
|
||||
return;
|
||||
|
||||
const core::recti &viewport = kart->getCamera()->getViewport();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user