From 1fd743a563bf4c6672f239607d048d296d72435c Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Wed, 10 Aug 2016 19:24:27 +0300 Subject: [PATCH] remove old setphasemask function for units --- UnitMethods.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/UnitMethods.h b/UnitMethods.h index b1196b0..8b43b92 100644 --- a/UnitMethods.h +++ b/UnitMethods.h @@ -1800,20 +1800,6 @@ namespace LuaUnit return 0; } - /** - * Sets the [Unit]'s phase mask. - * - * @param uint32 phaseMask - * @param bool update = true : update visibility to nearby objects - */ - int SetPhaseMask(Eluna* /*E*/, lua_State* L, Unit* unit) - { - uint32 phaseMask = Eluna::CHECKVAL(L, 2); - bool update = Eluna::CHECKVAL(L, 3, true); - unit->SetPhaseMask(phaseMask, update); - return 0; - } - int SetCritterGUID(Eluna* /*E*/, lua_State* L, Unit* unit) { uint64 guid = Eluna::CHECKVAL(L, 2);