mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
exhumed.cpp: Comment out the "socket" variable and code that uses it.
This variable conflicts with library function named "socket".
This commit is contained in:
parent
7182190464
commit
3d82a745b3
1 changed files with 6 additions and 1 deletions
|
@ -1096,7 +1096,8 @@ short bMapMode = kFalse;
|
||||||
short bNoCreatures = kFalse;
|
short bNoCreatures = kFalse;
|
||||||
|
|
||||||
short nTotalPlayers = 1;
|
short nTotalPlayers = 1;
|
||||||
short socket = 0;
|
// TODO: Rename this (or make it static) so it doesn't conflict with library function
|
||||||
|
//short socket = 0;
|
||||||
|
|
||||||
short nFirstPassword = 0;
|
short nFirstPassword = 0;
|
||||||
short nFirstPassInfo = 0;
|
short nFirstPassInfo = 0;
|
||||||
|
@ -2310,9 +2311,11 @@ int app_main(int argc, char const* const* argv)
|
||||||
case 'h':
|
case 'h':
|
||||||
SetHiRes();
|
SetHiRes();
|
||||||
break;
|
break;
|
||||||
|
#if 0
|
||||||
case 's':
|
case 's':
|
||||||
socket = atoi(pChar + 1);
|
socket = atoi(pChar + 1);
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
case 't':
|
case 't':
|
||||||
nNetTime = atoi(pChar + 1);
|
nNetTime = atoi(pChar + 1);
|
||||||
if (nNetTime < 0) {
|
if (nNetTime < 0) {
|
||||||
|
@ -2479,6 +2482,7 @@ int app_main(int argc, char const* const* argv)
|
||||||
|
|
||||||
// loc_116A5:
|
// loc_116A5:
|
||||||
|
|
||||||
|
#if 0
|
||||||
if (nNetPlayerCount)
|
if (nNetPlayerCount)
|
||||||
{
|
{
|
||||||
InitInput();
|
InitInput();
|
||||||
|
@ -2509,6 +2513,7 @@ int app_main(int argc, char const* const* argv)
|
||||||
WaitTicks(nWaitTicks);
|
WaitTicks(nWaitTicks);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// temp - moving InstallEngine(); before FadeOut as we use nextpage() in FadeOut
|
// temp - moving InstallEngine(); before FadeOut as we use nextpage() in FadeOut
|
||||||
InstallEngine();
|
InstallEngine();
|
||||||
|
|
Loading…
Reference in a new issue