Start a new bridge mechanism for global callbacks.

This commit is contained in:
David Anderson
2015-08-31 00:07:27 -07:00
parent 38e1c2f1f3
commit 401aa038f8
3 changed files with 23 additions and 8 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ SH_DECL_HOOK1_void(IVEngineServer, LogPrint, SH_NOATTRIB, false, const char *);
static void HookLogPrint(const char *message)
{
g_in_game_log_hook = true;
bool stopped = logicore.OnLogPrint(message);
bool stopped = logicore.callbacks->OnLogPrint(message);
g_in_game_log_hook = false;
if (stopped)