From eae36534703a4a2c3f94aedce86faeab572c9ce1 Mon Sep 17 00:00:00 2001 From: hikerstk Date: Thu, 8 Jan 2009 23:19:50 +0000 Subject: [PATCH] The first kart to use in profiling can now be set on the command line. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2867 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index f1c078560..b5e5b242c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -388,7 +388,7 @@ int handleCmdLine(int argc, char **argv) else { printf("Profiling: %d seconds.\n",user_config->m_profile); - race_manager->setNumLaps (999999); // profile end depends on time + race_manager->setNumLaps(999999); // profile end depends on time } } else if( !strcmp(argv[i], "--profile") ) @@ -600,7 +600,6 @@ int main(int argc, char *argv[] ) { // Profiling // ========= - race_manager->setLocalKartInfo(0, kart_properties_manager->getKart("tux")->getIdent()); race_manager->setMajorMode (RaceManager::MAJOR_MODE_SINGLE); race_manager->setMinorMode (RaceManager::MINOR_MODE_QUICK_RACE); race_manager->setDifficulty(RaceManager::RD_HARD);