Network no longer attempts to sync Demonstration mode.
This commit is contained in:
@@ -210,6 +210,12 @@ void NetworkSyncManager::StartRequest()
|
|||||||
if (!useSMserver)
|
if (!useSMserver)
|
||||||
return ;
|
return ;
|
||||||
|
|
||||||
|
//If it's going into demonstration (or jukebox) mode, do not
|
||||||
|
//bother to sync.
|
||||||
|
if (GAMESTATE->m_bDemonstrationOrJukebox)
|
||||||
|
return ;
|
||||||
|
|
||||||
|
|
||||||
vector <char> tmp; //Temporary vector used by receive function when waiting
|
vector <char> tmp; //Temporary vector used by receive function when waiting
|
||||||
|
|
||||||
LOG->Trace("Requesting Start from Server.");
|
LOG->Trace("Requesting Start from Server.");
|
||||||
@@ -295,7 +301,6 @@ void ArgStartCourse(CString CourseName)
|
|||||||
|
|
||||||
GAMESTATE->m_MasterPlayerNumber = PLAYER_1;
|
GAMESTATE->m_MasterPlayerNumber = PLAYER_1;
|
||||||
//Need to add more functionality eventually
|
//Need to add more functionality eventually
|
||||||
|
|
||||||
GAMESTATE->m_pCurCourse = desCourse;
|
GAMESTATE->m_pCurCourse = desCourse;
|
||||||
GAMESTATE->m_CurStyle = STYLE_DANCE_SINGLE;
|
GAMESTATE->m_CurStyle = STYLE_DANCE_SINGLE;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user