mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-29 23:18:06 +03:00
HLDS Launcher: Fix pingboost
This commit is contained in:
parent
69bdbc2575
commit
5eb2498ced
@ -181,7 +181,7 @@ BOOL WriteText(LPCTSTR szText)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
unsigned _stdcall RequestProc(void *arg)
|
||||
unsigned __stdcall RequestProc(void *arg)
|
||||
{
|
||||
int *pBuffer;
|
||||
DWORD dwRet;
|
||||
|
@ -104,6 +104,7 @@ int RunServer()
|
||||
|
||||
RunVGUIFrame();
|
||||
|
||||
#ifdef _WIN32
|
||||
// TODO: finish me!
|
||||
/*if (g_bVGui)
|
||||
{
|
||||
@ -123,6 +124,7 @@ int RunServer()
|
||||
strncpy(szConfigDir, "platform/config", sizeof(szConfigDir));
|
||||
}
|
||||
}*/
|
||||
#endif // _WIN32
|
||||
|
||||
RunVGUIFrame();
|
||||
|
||||
@ -134,7 +136,7 @@ int RunServer()
|
||||
RunVGUIFrame();
|
||||
|
||||
bool bDone = false;
|
||||
while (1)
|
||||
while (true)
|
||||
{
|
||||
if (bDone)
|
||||
break;
|
||||
@ -159,7 +161,6 @@ int RunServer()
|
||||
if (gbAppHasBeenTerminated)
|
||||
break;
|
||||
|
||||
|
||||
if (g_bVGui)
|
||||
{
|
||||
RunVGUIFrame();
|
||||
|
@ -40,7 +40,7 @@ volatile bool g_bPaused = false;
|
||||
|
||||
void CSys::Sleep(int msec)
|
||||
{
|
||||
usleep(msec * 1000);
|
||||
Sys_Sleep(msec);
|
||||
}
|
||||
|
||||
void Sleep_Old(int msec)
|
||||
|
Loading…
x
Reference in New Issue
Block a user