From dee2d51884c9844b029db1ac205b0d6d57323274 Mon Sep 17 00:00:00 2001 From: RedSkull-666 <60255796+RedSkull-666@users.noreply.github.com> Date: Mon, 24 Feb 2020 18:28:02 +0100 Subject: [PATCH] Update UnitMethods.h --- UnitMethods.h | 2 ++ 1 file changed, 2 insertions(+) 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);