From 8d0cad3cb8705bad0418a2ddb562719e6e8e80e4 Mon Sep 17 00:00:00 2001 From: hiker Date: Mon, 3 Aug 2015 15:44:44 +1000 Subject: [PATCH] Use proper call instead of hard coded constant. --- src/race/race_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/race/race_manager.cpp b/src/race/race_manager.cpp index 450d43e95..924a1c98d 100644 --- a/src/race/race_manager.cpp +++ b/src/race/race_manager.cpp @@ -546,7 +546,7 @@ void RaceManager::saveGP() m_saved_gp->setKarts(m_kart_status); m_saved_gp->setNextTrack(m_track_number); } - else if (m_grand_prix.getId() != "random") + else if(!m_grand_prix.isRandomGP()) { m_saved_gp = new SavedGrandPrix( StateManager::get()->getActivePlayerProfile(0)->getUniqueID(),