From b71cb6067e3d1e06804df216b09477265df9b3d6 Mon Sep 17 00:00:00 2001 From: auria Date: Wed, 25 Apr 2012 19:59:25 +0000 Subject: [PATCH] For now make sure challenges never use reverse mode (later it may become configurable, but reusing the value left over from previous race is bad) git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11153 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/states_screens/dialogs/select_challenge.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/states_screens/dialogs/select_challenge.cpp b/src/states_screens/dialogs/select_challenge.cpp index e2a7813c7..552ad62ee 100644 --- a/src/states_screens/dialogs/select_challenge.cpp +++ b/src/states_screens/dialogs/select_challenge.cpp @@ -156,6 +156,7 @@ GUIEngine::EventPropagation SelectChallengeDialog::processEvent(const std::strin // Set up race manager appropriately race_manager->setNumLocalPlayers(1); race_manager->setLocalKartInfo(0, UserConfigParams::m_default_kart); + race_manager->setReverseTrack(false); //int id = StateManager::get()->createActivePlayer( unlock_manager->getCurrentPlayer(), device ); input_manager->getDeviceList()->setSinglePlayer( StateManager::get()->getActivePlayer(0) );