mirror of https://github.com/FWGS/hlsdk-xash3d
Do not read game.cfg under Xash3D.
This commit is contained in:
parent
b4113ac7cd
commit
f8908e7d31
|
@ -28,6 +28,8 @@
|
||||||
|
|
||||||
extern edict_t *EntSelectSpawnPoint( CBaseEntity *pPlayer );
|
extern edict_t *EntSelectSpawnPoint( CBaseEntity *pPlayer );
|
||||||
|
|
||||||
|
extern BOOL gPhysicsInterfaceInitialized;
|
||||||
|
|
||||||
//++ BulliT
|
//++ BulliT
|
||||||
DLL_GLOBAL AgGameRules *g_pGameRules = NULL;
|
DLL_GLOBAL AgGameRules *g_pGameRules = NULL;
|
||||||
//-- Martin Webrant
|
//-- Martin Webrant
|
||||||
|
@ -313,8 +315,11 @@ void CGameRules::RefreshSkillData ( void )
|
||||||
AgGameRules *InstallGameRules( void )
|
AgGameRules *InstallGameRules( void )
|
||||||
//-- Martin Webrant
|
//-- Martin Webrant
|
||||||
{
|
{
|
||||||
SERVER_COMMAND( "exec game.cfg\n" );
|
if( !gPhysicsInterfaceInitialized )
|
||||||
SERVER_EXECUTE();
|
{
|
||||||
|
SERVER_COMMAND( "exec game.cfg\n" );
|
||||||
|
SERVER_EXECUTE();
|
||||||
|
}
|
||||||
|
|
||||||
//++ BulliT
|
//++ BulliT
|
||||||
char *servercfgfile = (char *)CVAR_GET_STRING( "servercfgfile" );
|
char *servercfgfile = (char *)CVAR_GET_STRING( "servercfgfile" );
|
||||||
|
|
Loading…
Reference in New Issue