Merge branch 'fix_nonet' into 'master'

Fix NONET

See merge request KartKrew/Kart-Public!60
This commit is contained in:
wolfs 2019-02-16 06:11:43 -05:00
commit 5ff03d38f5
2 changed files with 13 additions and 6 deletions

View file

@ -2211,8 +2211,10 @@ static void CL_ConnectToServer(boolean viams)
}
while (!(cl_mode == CL_CONNECTED && (client || (server && nodewaited <= pnumnodes))));
#ifndef NONET
if (netgame)
F_StartWaitingPlayers();
#endif
DEBFILE(va("Synchronisation Finished\n"));
displayplayer = consoleplayer;

View file

@ -1830,7 +1830,6 @@ static menu_t SP_NightsGhostDef =
NULL
};*/
#ifndef NONET
// Multiplayer
menu_t MP_MainDef =
{
@ -1841,12 +1840,18 @@ menu_t MP_MainDef =
M_DrawMPMainMenu,
42, 30,
0,
M_CancelConnect
};
menu_t MP_ServerDef = MAPICONMENUSTYLE("M_MULTI", MP_ServerMenu, &MP_MainDef);
#endif
menu_t MP_OfflineServerDef = MAPICONMENUSTYLE("M_MULTI", MP_OfflineServerMenu, &MP_MainDef);
#ifndef NONET
M_CancelConnect
#else
NULL
#endif
};
menu_t MP_OfflineServerDef = MAPICONMENUSTYLE("M_MULTI", MP_OfflineServerMenu, &MP_MainDef);
#ifndef NONET
menu_t MP_ServerDef = MAPICONMENUSTYLE("M_MULTI", MP_ServerMenu, &MP_MainDef);
menu_t MP_ConnectDef =
{
"M_MULTI",