Little change in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14152 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -117,11 +117,12 @@ void SoccerWorld::update(float dt)
|
||||
if (world->getPhase() == World::GOAL_PHASE)
|
||||
{
|
||||
m_goal_timer += dt;
|
||||
}
|
||||
if (m_goal_timer > 3.0f)
|
||||
{
|
||||
world->setPhase(WorldStatus::RACE_PHASE);
|
||||
m_goal_timer = 0;
|
||||
|
||||
if (m_goal_timer > 3.0f)
|
||||
{
|
||||
world->setPhase(WorldStatus::RACE_PHASE);
|
||||
m_goal_timer = 0;
|
||||
}
|
||||
}
|
||||
|
||||
// TODO
|
||||
|
||||
Reference in New Issue
Block a user