Bugfix: world was not deleted after a GP race.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4781 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2010-02-21 00:39:23 +00:00
parent 03a438b0cb
commit be7b7d4b3c

View File

@ -262,6 +262,7 @@ void RaceManager::startNextRace()
*/ */
void RaceManager::next() void RaceManager::next()
{ {
delete World::getWorld();
m_num_finished_karts = 0; m_num_finished_karts = 0;
m_num_finished_players = 0; m_num_finished_players = 0;
m_track_number++; m_track_number++;