From be7b7d4b3c3f5b434cde33cb96746b6afdc59986 Mon Sep 17 00:00:00 2001 From: hikerstk Date: Sun, 21 Feb 2010 00:39:23 +0000 Subject: [PATCH] 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 --- src/race/race_manager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/race/race_manager.cpp b/src/race/race_manager.cpp index 6298b4ea8..0203e3831 100644 --- a/src/race/race_manager.cpp +++ b/src/race/race_manager.cpp @@ -262,6 +262,7 @@ void RaceManager::startNextRace() */ void RaceManager::next() { + delete World::getWorld(); m_num_finished_karts = 0; m_num_finished_players = 0; m_track_number++;