From d39e49b4b02d9fb29c38f487608f945f00476c3d Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Wed, 10 Aug 2016 19:56:50 +0300 Subject: [PATCH] Fix copy paste error --- LuaFunctions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LuaFunctions.cpp b/LuaFunctions.cpp index 763d750..3e12fb7 100644 --- a/LuaFunctions.cpp +++ b/LuaFunctions.cpp @@ -193,7 +193,7 @@ ElunaRegister WorldObjectMethods[] = { "GetMap", &LuaWorldObject::GetMap }, #if (!defined(TBC) && !defined(CLASSIC)) { "GetPhaseMask", &LuaWorldObject::GetPhaseMask }, - { "SetPhaseMask", &LuaUnit::SetPhaseMask }, + { "SetPhaseMask", &LuaWorldObject::SetPhaseMask }, #endif { "GetInstanceId", &LuaWorldObject::GetInstanceId }, { "GetAreaId", &LuaWorldObject::GetAreaId },