diff --git a/src/main.cpp b/src/main.cpp index 728477718..0d85b334b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -596,14 +596,13 @@ int main(int argc, char *argv[] ) } else // profile { - // Profiling // ========= - race_manager->setNumPlayers(1); 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); + network_manager->setupPlayerKartInfo(); race_manager->startNew(); } main_loop->run(); diff --git a/src/modes/world.cpp b/src/modes/world.cpp index c443c8bdc..b758eaada 100644 --- a/src/modes/world.cpp +++ b/src/modes/world.cpp @@ -115,6 +115,7 @@ void World::init() if(i==race_manager->getNumKarts()-1) { scene->createCamera(local_player_id, newkart); + m_local_player_karts[0] = static_cast(newkart); } } else