Save history file when ranking bug occurs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5099 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
d742c9d115
commit
3ed8cbc5da
@ -21,7 +21,8 @@
|
||||
#include <sstream>
|
||||
|
||||
#include "audio/sound_manager.hpp"
|
||||
#include "network/network_manager.hpp"
|
||||
#include "network/network_manager.hpp"
|
||||
#include "race/history.hpp"
|
||||
#include "tracks/track.hpp"
|
||||
#include "utils/constants.hpp"
|
||||
#include "utils/string_utils.hpp"
|
||||
@ -484,6 +485,7 @@ void LinearWorld::raceResultOrder( int order[] )
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
if (!positions_ok) history->Save();
|
||||
assert(positions_ok);
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user