mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-28 22:48:05 +03:00
Move SetCStrikeFlags() from Init_noVirt to Host_InitializeGameDLL
This commit is contained in:
parent
2ab8b1f884
commit
8ec7639995
@ -219,6 +219,10 @@ 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,9 +699,6 @@ 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 // DONE: Set cstrike flags on server start
|
||||
SetCStrikeFlags();
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user