mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-17 00:58:18 +03:00
commit
e68bb149fb
@ -219,10 +219,6 @@ void Host_InitializeGameDLL(void)
|
||||
SV_CheckBlendingInterface();
|
||||
SV_CheckSaveGameCommentInterface();
|
||||
Cbuf_Execute();
|
||||
|
||||
#ifdef REHLDS_FIXES // DONE: Set cstrike flags on server start
|
||||
SetCStrikeFlags();
|
||||
#endif
|
||||
}
|
||||
|
||||
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);
|
||||
text[255] = 0;
|
||||
Cbuf_InsertText(text);
|
||||
|
||||
#ifdef REHLDS_FIXES
|
||||
SetCStrikeFlags();
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,8 @@
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#include <cpuid.h>
|
||||
#elif _MSC_VER >= 1400 && !defined(ASMLIB_H)
|
||||
#include <intrin.h> // __cpuidex
|
||||
#endif
|
||||
|
||||
#define SSE3_FLAG (1<<0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user