mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Fix build
This commit is contained in:
@@ -564,7 +564,7 @@ bool Eluna::ExecuteCall(int params, int res)
|
|||||||
ASSERT(false); // stack probably corrupt
|
ASSERT(false); // stack probably corrupt
|
||||||
}
|
}
|
||||||
|
|
||||||
bool usetrace = eConfigMgr->GetBoolDefault("Eluna.TraceBack", true);
|
bool usetrace = eConfigMgr->GetBoolDefault("Eluna.TraceBack", false);
|
||||||
if (usetrace)
|
if (usetrace)
|
||||||
{
|
{
|
||||||
lua_pushcfunction(L, &StackTrace);
|
lua_pushcfunction(L, &StackTrace);
|
||||||
|
|||||||
@@ -159,7 +159,7 @@ private:
|
|||||||
static void AddScriptPath(std::string filename, const std::string& fullpath);
|
static void AddScriptPath(std::string filename, const std::string& fullpath);
|
||||||
|
|
||||||
static int StackTrace(lua_State *_L);
|
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.
|
// 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".
|
// The bodies of the templates are in HookHelpers.h, so if you want to use them you need to #include "HookHelpers.h".
|
||||||
|
|||||||
Reference in New Issue
Block a user