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:
@@ -15,6 +15,8 @@
|
|||||||
#include "CLogger.h"
|
#include "CLogger.h"
|
||||||
#include "PluginSys.h"
|
#include "PluginSys.h"
|
||||||
|
|
||||||
|
CDbgReporter g_DbgReporter;
|
||||||
|
|
||||||
void CDbgReporter::OnSourceModAllInitialized()
|
void CDbgReporter::OnSourceModAllInitialized()
|
||||||
{
|
{
|
||||||
g_pSourcePawn->SetDebugListener(this);
|
g_pSourcePawn->SetDebugListener(this);
|
||||||
|
|||||||
@@ -29,5 +29,7 @@ private:
|
|||||||
int _GetPluginIndex(IPluginContext *ctx);
|
int _GetPluginIndex(IPluginContext *ctx);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extern CDbgReporter g_DbgReporter;
|
||||||
|
|
||||||
#endif // _INCLUDE_SOURCEMOD_CDBGREPORTER_H_
|
#endif // _INCLUDE_SOURCEMOD_CDBGREPORTER_H_
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user