Fix crash when running a GP with a track with moving physical objects

in it at the end (e.g. tux tollway).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1458 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2008-02-12 00:07:00 +00:00
parent fcaec31da6
commit b9bfb128e4

View File

@ -157,9 +157,9 @@ GrandPrixEnd::GrandPrixEnd()
//FIXME: this is taken from RaceMode::exit_race,
//this should be organized better.
scene->clear();
delete world;
world = 0;
scene->clear();
race_manager->m_active_race = false;
}