Browse Source

Do not read game.cfg under Xash3D.

aghl
Night Owl 6 years ago
parent
commit
f8908e7d31
  1. 5
      dlls/gamerules.cpp

5
dlls/gamerules.cpp

@ -28,6 +28,8 @@ @@ -28,6 +28,8 @@
extern edict_t *EntSelectSpawnPoint( CBaseEntity *pPlayer );
extern BOOL gPhysicsInterfaceInitialized;
//++ BulliT
DLL_GLOBAL AgGameRules *g_pGameRules = NULL;
//-- Martin Webrant
@ -312,9 +314,12 @@ void CGameRules::RefreshSkillData ( void ) @@ -312,9 +314,12 @@ void CGameRules::RefreshSkillData ( void )
//++ BulliT
AgGameRules *InstallGameRules( void )
//-- Martin Webrant
{
if( !gPhysicsInterfaceInitialized )
{
SERVER_COMMAND( "exec game.cfg\n" );
SERVER_EXECUTE();
}
//++ BulliT
char *servercfgfile = (char *)CVAR_GET_STRING( "servercfgfile" );

Loading…
Cancel
Save