mirror of
https://github.com/rehlds/rehlds.git
synced 2025-04-23 14:53:30 +03:00
Added cast in call to FileSystem_Init.
This commit is contained in:
parent
06f040072d
commit
830ff3b2ce
@ -693,7 +693,7 @@ bool CDedicatedServerAPI::Init_noVirt(char *basedir, char *cmdline, CreateInterf
|
|||||||
|
|
||||||
g_bIsDedicatedServer = TRUE;
|
g_bIsDedicatedServer = TRUE;
|
||||||
TraceInit("FileSystem_Init(basedir, (void *)filesystemFactory)", "FileSystem_Shutdown()", 0);
|
TraceInit("FileSystem_Init(basedir, (void *)filesystemFactory)", "FileSystem_Shutdown()", 0);
|
||||||
if (FileSystem_Init(basedir, filesystemFactory) && game->Init(0) && eng->Load(true, basedir, cmdline))
|
if (FileSystem_Init(basedir, (void *)filesystemFactory) && game->Init(0) && eng->Load(true, basedir, cmdline))
|
||||||
{
|
{
|
||||||
char text[256];
|
char text[256];
|
||||||
Q_snprintf(text, ARRAYSIZE(text), "exec %s\n", servercfgfile.string);
|
Q_snprintf(text, ARRAYSIZE(text), "exec %s\n", servercfgfile.string);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user