core/logic_bridge.cpp
changeset 3366 d4afcec1be26
parent 3321 cbc679e71d1b
child 3373 c6463cdc2180
     1.1 --- a/core/logic_bridge.cpp	Sun Jul 24 19:44:15 2011 -0700
     1.2 +++ b/core/logic_bridge.cpp	Sun Jul 24 19:52:22 2011 -0700
     1.3 @@ -49,6 +49,7 @@
     1.4  #include "PlayerManager.h"
     1.5  #include "AdminCache.h"
     1.6  #include "HalfLife2.h"
     1.7 +#include "CoreConfig.h"
     1.8  
     1.9  #if defined _WIN32
    1.10  	#define MATCHMAKINGDS_SUFFIX	""
    1.11 @@ -176,6 +177,11 @@
    1.12  #endif
    1.13  }
    1.14  
    1.15 +static const char* get_core_config_value(const char* key)
    1.16 +{
    1.17 +	return g_CoreConfig.GetCoreConfigValue(key);
    1.18 +}	
    1.19 +
    1.20  static ServerGlobals serverGlobals;
    1.21  
    1.22  static sm_core_t core_bridge =
    1.23 @@ -209,6 +215,7 @@
    1.24  	get_game_description,
    1.25  	get_source_engine_name,
    1.26  	symbols_are_hidden,
    1.27 +	get_core_config_value,
    1.28  	&serverGlobals
    1.29  };
    1.30