From 17640521b716b8914564050a165f58322b9079e7 Mon Sep 17 00:00:00 2001 From: Skjalf <47818697+Nyeriah@users.noreply.github.com> Date: Sun, 5 Feb 2023 08:26:19 -0300 Subject: [PATCH] fix: fix build after renaming GetGOData() to GetGameObjectData() Reduce differences between projects --- src/LuaEngine/GlobalMethods.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/LuaEngine/GlobalMethods.h b/src/LuaEngine/GlobalMethods.h index f2a2912..fdd60d8 100644 --- a/src/LuaEngine/GlobalMethods.h +++ b/src/LuaEngine/GlobalMethods.h @@ -1861,11 +1861,8 @@ namespace LuaGlobalFunctions Eluna::Push(L); return 1; } -#ifndef AZEROTHCORE + eObjectMgr->AddGameobjectToGrid(guidLow, eObjectMgr->GetGameObjectData(guidLow)); -#else - eObjectMgr->AddGameobjectToGrid(guidLow, eObjectMgr->GetGOData(guidLow)); -#endif } else map->AddToMap(object);