this must have been in previous commit
This commit is contained in:
@@ -12,12 +12,15 @@ void *g_serverdll;
|
||||
ConVar g_tickrate("tickrate","64",FCVAR_PROTECTED);
|
||||
float g_fAccumulator = 0;
|
||||
|
||||
extern "C" void IGame_Load(void);
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Loads game and client libraries if linking dynamically, otherwise it runs
|
||||
// IGame_Load compiled statically.
|
||||
//-----------------------------------------------------------------------------
|
||||
void IServer::LoadGame( const char *psz )
|
||||
{
|
||||
#ifndef STATIC_BUILD
|
||||
#ifdef __WIN32__
|
||||
g_serverdll = Plat_LoadLibrary(CUtlString("%s/bin/server.dll", psz));
|
||||
#endif
|
||||
@@ -34,6 +37,9 @@ void IServer::LoadGame( const char *psz )
|
||||
if (!GameLoadfn)
|
||||
Plat_FatalErrorFunc("IGame_Load not found in libserver.so\n");
|
||||
GameLoadfn();
|
||||
#else
|
||||
IGame_Load();
|
||||
#endif
|
||||
};
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user