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:
parent
03a438b0cb
commit
be7b7d4b3c
@ -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++;
|
||||||
|
Loading…
Reference in New Issue
Block a user