diff --git a/UnitMethods.h b/UnitMethods.h index ccfc532..38d6a40 100644 --- a/UnitMethods.h +++ b/UnitMethods.h @@ -2132,6 +2132,7 @@ namespace LuaUnit int MoveExpire(lua_State* L, Unit* unit) { #ifdef TRINITY + (void) L; // ensure that the variable is referenced in order to pass compiler checks unit->GetMotionMaster()->Clear(); #else bool reset = Eluna::CHECKVAL(L, 2, true); @@ -2148,6 +2149,7 @@ namespace LuaUnit int MoveClear(lua_State* L, Unit* unit) { #ifdef TRINITY + (void) L; // ensure that the variable is referenced in order to pass compiler checks unit->GetMotionMaster()->Clear(); #else bool reset = Eluna::CHECKVAL(L, 2, true);