Fix build

This commit is contained in:
Rochet2
2015-01-20 18:36:35 +02:00
parent f2e71c181c
commit 22e2195d00
2 changed files with 2 additions and 2 deletions

View File

@@ -564,7 +564,7 @@ bool Eluna::ExecuteCall(int params, int res)
ASSERT(false); // stack probably corrupt
}
bool usetrace = eConfigMgr->GetBoolDefault("Eluna.TraceBack", true);
bool usetrace = eConfigMgr->GetBoolDefault("Eluna.TraceBack", false);
if (usetrace)
{
lua_pushcfunction(L, &StackTrace);

View File

@@ -159,7 +159,7 @@ private:
static void AddScriptPath(std::string filename, const std::string& fullpath);
static int StackTrace(lua_State *_L);
static void Eluna::Report(lua_State* _L);
static void Report(lua_State* _L);
// Some helpers for hooks to call event handlers.
// The bodies of the templates are in HookHelpers.h, so if you want to use them you need to #include "HookHelpers.h".