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:
coz
2007-06-10 01:13:39 +00:00
parent dafb628e2d
commit fd053ced67
7 changed files with 38 additions and 16 deletions

View File

@@ -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);