Allow battle ai profiling with different track
This commit is contained in:
parent
c434cb80f4
commit
d3301ff006
@ -899,13 +899,16 @@ int handleCmdLine()
|
||||
}
|
||||
if(CommandLine::has("--battle-ai-stats"))
|
||||
{
|
||||
std::string track;
|
||||
if (!CommandLine::has("--track", &track))
|
||||
track = "temple";
|
||||
UserConfigParams::m_arena_ai_stats=true;
|
||||
race_manager->setMinorMode(RaceManager::MINOR_MODE_3_STRIKES);
|
||||
std::vector<std::string> l;
|
||||
for (int i = 0; i < 8; i++)
|
||||
l.push_back("tux");
|
||||
race_manager->setDefaultAIKartList(l);
|
||||
race_manager->setTrack("temple");
|
||||
race_manager->setTrack(track);
|
||||
race_manager->setNumKarts(8);
|
||||
race_manager->setDifficulty(RaceManager::Difficulty(3));
|
||||
UserConfigParams::m_no_start_screen = true;
|
||||
|
Loading…
Reference in New Issue
Block a user