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:
hikerstk
2008-11-20 22:06:14 +00:00
parent 4975c09c1f
commit 38d568dedd

View File

@@ -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