mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-01 16:41:09 +00:00
- missed one exit.
This commit is contained in:
parent
0a611e1992
commit
c95a07d2c4
1 changed files with 4 additions and 3 deletions
|
@ -1541,7 +1541,7 @@ bool DoArbitrate (void *userdata)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void D_ArbitrateNetStart (void)
|
bool D_ArbitrateNetStart (void)
|
||||||
{
|
{
|
||||||
ArbitrateData data;
|
ArbitrateData data;
|
||||||
int i;
|
int i;
|
||||||
|
@ -1604,7 +1604,7 @@ void D_ArbitrateNetStart (void)
|
||||||
StartScreen->NetInit ("Exchanging game information", 1);
|
StartScreen->NetInit ("Exchanging game information", 1);
|
||||||
if (!StartScreen->NetLoop (DoArbitrate, &data))
|
if (!StartScreen->NetLoop (DoArbitrate, &data))
|
||||||
{
|
{
|
||||||
exit(0);
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (consoleplayer == Net_Arbitrator)
|
if (consoleplayer == Net_Arbitrator)
|
||||||
|
@ -1621,6 +1621,7 @@ void D_ArbitrateNetStart (void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
StartScreen->NetDone();
|
StartScreen->NetDone();
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void SendSetup (uint32_t playersdetected[MAXNETNODES], uint8_t gotsetup[MAXNETNODES], int len)
|
static void SendSetup (uint32_t playersdetected[MAXNETNODES], uint8_t gotsetup[MAXNETNODES], int len)
|
||||||
|
@ -1726,7 +1727,7 @@ bool D_CheckNetGame (void)
|
||||||
if (netgame)
|
if (netgame)
|
||||||
{
|
{
|
||||||
GameConfig->ReadNetVars (); // [RH] Read network ServerInfo cvars
|
GameConfig->ReadNetVars (); // [RH] Read network ServerInfo cvars
|
||||||
D_ArbitrateNetStart ();
|
if (!D_ArbitrateNetStart ()) return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// read values out of doomcom
|
// read values out of doomcom
|
||||||
|
|
Loading…
Reference in a new issue