2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-01-30 15:38:05 +03:00

HLDS Launcher: Fix pingboost

This commit is contained in:
s1lent 2017-02-14 03:51:06 +07:00
parent 69bdbc2575
commit 5eb2498ced
3 changed files with 5 additions and 4 deletions

View File

@ -181,7 +181,7 @@ BOOL WriteText(LPCTSTR szText)
return TRUE;
}
unsigned _stdcall RequestProc(void *arg)
unsigned __stdcall RequestProc(void *arg)
{
int *pBuffer;
DWORD dwRet;

View File

@ -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();

View File

@ -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)