From 1ccac0db7c61d1d7cae7dd5bd7d5594667a8b1c0 Mon Sep 17 00:00:00 2001 From: hiker Date: Fri, 7 Mar 2014 16:04:10 +1100 Subject: [PATCH] Fix #1232 (GP causes crash). --- src/race/race_manager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/race/race_manager.cpp b/src/race/race_manager.cpp index 29c36eeb2..3b29c01db 100644 --- a/src/race/race_manager.cpp +++ b/src/race/race_manager.cpp @@ -340,7 +340,8 @@ void RaceManager::startNew(bool from_overworld) } m_track_number = 0; - if(m_major_mode==MAJOR_MODE_GRAND_PRIX && !NetworkWorld::getInstance()->isRunning()) // offline mode only + if(m_major_mode==MAJOR_MODE_GRAND_PRIX && + !NetworkWorld::getInstance()->isRunning()) // offline mode only { //We look if Player 1 has a saved version of this GP. // =================================================