2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-04-16 22:32:30 +03:00

Added cast in call to FileSystem_Init.

This commit is contained in:
Lev 2017-01-25 18:32:19 +05:00
parent 06f040072d
commit 830ff3b2ce

View File

@ -693,7 +693,7 @@ bool CDedicatedServerAPI::Init_noVirt(char *basedir, char *cmdline, CreateInterf
g_bIsDedicatedServer = TRUE;
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];
Q_snprintf(text, ARRAYSIZE(text), "exec %s\n", servercfgfile.string);