Moved the pause code from being dependant on the widgetSet to being dependant from world.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1146 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -78,7 +78,7 @@ void GameManager::run()
|
||||
if (race_manager->raceIsActive())
|
||||
{
|
||||
scene->draw();
|
||||
if ( ! widgetSet -> get_paused ())
|
||||
if ( world->getPhase() != World::LIMBO_PHASE)
|
||||
{
|
||||
world->update((m_curr_time - m_prev_time ) * 0.001);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user