Fix #1232 (GP causes crash).

This commit is contained in:
hiker 2014-03-07 16:04:10 +11:00
parent 58c325e6c3
commit 1ccac0db7c

View File

@ -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<NetworkWorld>()->isRunning()) // offline mode only
{
//We look if Player 1 has a saved version of this GP.
// =================================================