Bugfix: history file replaying could cause a crash since the
karts were setup twice. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2486 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
#include "race_manager.hpp"
|
||||
#include "karts/kart.hpp"
|
||||
#include "modes/world.hpp"
|
||||
#include "network/network_manager.hpp"
|
||||
|
||||
History* history = 0;
|
||||
|
||||
@@ -305,7 +304,5 @@ void History::Load()
|
||||
} // for k
|
||||
fprintf(fd, "History file end.\n");
|
||||
fclose(fd);
|
||||
network_manager->setupPlayerKartInfo();
|
||||
|
||||
} // Load
|
||||
|
||||
|
||||
Reference in New Issue
Block a user