From 22e2195d003b6fdf7601f9847c85e7e41c308943 Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Tue, 20 Jan 2015 18:36:35 +0200 Subject: [PATCH] Fix build --- LuaEngine.cpp | 2 +- LuaEngine.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LuaEngine.cpp b/LuaEngine.cpp index 6788ad2..7a7ddff 100644 --- a/LuaEngine.cpp +++ b/LuaEngine.cpp @@ -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); diff --git a/LuaEngine.h b/LuaEngine.h index 08f1480..f106a70 100644 --- a/LuaEngine.h +++ b/LuaEngine.h @@ -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".