Move DebugReporter from core to logic (bug 5607, r=psychonic).
--HG-- rename : core/DebugReporter.cpp => core/logic/DebugReporter.cpp rename : core/DebugReporter.h => core/logic/DebugReporter.h
This commit is contained in:
+1
-2
@@ -45,7 +45,6 @@
|
||||
#include "ForwardSys.h"
|
||||
#include "TimerSys.h"
|
||||
#include <IGameConfigs.h>
|
||||
#include "DebugReporter.h"
|
||||
#include "frame_hooks.h"
|
||||
#include "logic_bridge.h"
|
||||
|
||||
@@ -242,7 +241,7 @@ bool SourceModBase::InitializeSourceMod(char *error, size_t maxlength, bool late
|
||||
return false;
|
||||
}
|
||||
|
||||
g_pSourcePawn2->SetDebugListener(&g_DbgReporter);
|
||||
g_pSourcePawn2->SetDebugListener(logicore.debugger);
|
||||
|
||||
/* Hook this now so we can detect startup without calling StartSourceMod() */
|
||||
SH_ADD_HOOK_MEMFUNC(IServerGameDLL, LevelInit, gamedll, this, &SourceModBase::LevelInit, false);
|
||||
|
||||
Reference in New Issue
Block a user