Fix #1232 (GP causes crash).
This commit is contained in:
parent
58c325e6c3
commit
1ccac0db7c
@ -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.
|
||||
// =================================================
|
||||
|
Loading…
Reference in New Issue
Block a user