remove old setphasemask function for units

This commit is contained in:
Rochet2
2016-08-10 19:24:27 +03:00
parent 17d2d299c6
commit 1fd743a563

View File

@@ -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<uint32>(L, 2);
bool update = Eluna::CHECKVAL<bool>(L, 3, true);
unit->SetPhaseMask(phaseMask, update);
return 0;
}
int SetCritterGUID(Eluna* /*E*/, lua_State* L, Unit* unit)
{
uint64 guid = Eluna::CHECKVAL<uint64>(L, 2);