mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40: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 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 nFirstPassInfo = 0;
|
||||
|
@ -2310,9 +2311,11 @@ int app_main(int argc, char const* const* argv)
|
|||
case 'h':
|
||||
SetHiRes();
|
||||
break;
|
||||
#if 0
|
||||
case 's':
|
||||
socket = atoi(pChar + 1);
|
||||
break;
|
||||
#endif
|
||||
case 't':
|
||||
nNetTime = atoi(pChar + 1);
|
||||
if (nNetTime < 0) {
|
||||
|
@ -2479,6 +2482,7 @@ int app_main(int argc, char const* const* argv)
|
|||
|
||||
// loc_116A5:
|
||||
|
||||
#if 0
|
||||
if (nNetPlayerCount)
|
||||
{
|
||||
InitInput();
|
||||
|
@ -2509,6 +2513,7 @@ int app_main(int argc, char const* const* argv)
|
|||
WaitTicks(nWaitTicks);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
// temp - moving InstallEngine(); before FadeOut as we use nextpage() in FadeOut
|
||||
InstallEngine();
|
||||
|
|
Loading…
Reference in a new issue