core/sourcemod.cpp
changeset 3792 d8a07e40bcb6
parent 3401 98f3a34c1396
child 3819 d17aed3d46bf
     1.1 --- a/core/sourcemod.cpp	Sat Feb 16 15:52:11 2013 -0800
     1.2 +++ b/core/sourcemod.cpp	Sat Feb 16 15:57:00 2013 -0800
     1.3 @@ -45,7 +45,6 @@
     1.4  #include "ForwardSys.h"
     1.5  #include "TimerSys.h"
     1.6  #include <IGameConfigs.h>
     1.7 -#include "DebugReporter.h"
     1.8  #include "frame_hooks.h"
     1.9  #include "logic_bridge.h"
    1.10  
    1.11 @@ -242,7 +241,7 @@
    1.12  		return false;
    1.13  	}
    1.14  
    1.15 -	g_pSourcePawn2->SetDebugListener(&g_DbgReporter);
    1.16 +	g_pSourcePawn2->SetDebugListener(logicore.debugger);
    1.17  
    1.18  	/* Hook this now so we can detect startup without calling StartSourceMod() */
    1.19  	SH_ADD_HOOK_MEMFUNC(IServerGameDLL, LevelInit, gamedll, this, &SourceModBase::LevelInit, false);