1.1 --- a/core/logic_bridge.cpp Fri May 14 17:46:19 2010 -0700
1.2 +++ b/core/logic_bridge.cpp Fri May 14 18:22:03 2010 -0700
1.3 @@ -48,6 +48,7 @@
1.4 #include "DebugReporter.h"
1.5 #include "PlayerManager.h"
1.6 #include "AdminCache.h"
1.7 +#include "HalfLife2.h"
1.8
1.9 static ILibrary *g_pLogic = NULL;
1.10 static LogicInitFunction logic_init_fn;
1.11 @@ -64,6 +65,11 @@
1.12 {
1.13 return engine->IsMapValid(map);
1.14 }
1.15 +
1.16 + virtual void ServerCommand(const char *cmd)
1.17 + {
1.18 + engine->ServerCommand(cmd);
1.19 + }
1.20 };
1.21
1.22 static VEngineServer_Logic logic_engine;
1.23 @@ -118,6 +124,7 @@
1.24 &g_Timers,
1.25 &g_Players,
1.26 &g_Admins,
1.27 + &g_HL2,
1.28 /* Functions */
1.29 add_natives,
1.30 find_convar,