Fixed native errors not being logged - hope I did this correctly...

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40468
This commit is contained in:
Scott Ehlert 2007-02-10 10:38:23 +00:00
parent 47acc11df7
commit 09236c2d7a
2 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,8 @@
#include "CLogger.h"
#include "PluginSys.h"
CDbgReporter g_DbgReporter;
void CDbgReporter::OnSourceModAllInitialized()
{
g_pSourcePawn->SetDebugListener(this);

View File

@ -29,5 +29,7 @@ private:
int _GetPluginIndex(IPluginContext *ctx);
};
extern CDbgReporter g_DbgReporter;
#endif // _INCLUDE_SOURCEMOD_CDBGREPORTER_H_