mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-17 17:17:56 +03:00
commit
e68bb149fb
@ -219,10 +219,6 @@ void Host_InitializeGameDLL(void)
|
|||||||
SV_CheckBlendingInterface();
|
SV_CheckBlendingInterface();
|
||||||
SV_CheckSaveGameCommentInterface();
|
SV_CheckSaveGameCommentInterface();
|
||||||
Cbuf_Execute();
|
Cbuf_Execute();
|
||||||
|
|
||||||
#ifdef REHLDS_FIXES // DONE: Set cstrike flags on server start
|
|
||||||
SetCStrikeFlags();
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Host_Motd_f(void)
|
void Host_Motd_f(void)
|
||||||
|
@ -699,6 +699,10 @@ bool CDedicatedServerAPI::Init_noVirt(char *basedir, char *cmdline, CreateInterf
|
|||||||
Q_snprintf(text, ARRAYSIZE(text), "exec %s\n", servercfgfile.string);
|
Q_snprintf(text, ARRAYSIZE(text), "exec %s\n", servercfgfile.string);
|
||||||
text[255] = 0;
|
text[255] = 0;
|
||||||
Cbuf_InsertText(text);
|
Cbuf_InsertText(text);
|
||||||
|
|
||||||
|
#ifdef REHLDS_FIXES
|
||||||
|
SetCStrikeFlags();
|
||||||
|
#endif
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,6 +29,8 @@
|
|||||||
|
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
#include <cpuid.h>
|
#include <cpuid.h>
|
||||||
|
#elif _MSC_VER >= 1400 && !defined(ASMLIB_H)
|
||||||
|
#include <intrin.h> // __cpuidex
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define SSE3_FLAG (1<<0)
|
#define SSE3_FLAG (1<<0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user