fix: fix build after renaming GetGOData() to GetGameObjectData()

Reduce differences between projects
This commit is contained in:
Skjalf
2023-02-05 08:26:19 -03:00
committed by GitHub
parent 695c6b7d7c
commit 17640521b7

View File

@@ -1861,11 +1861,8 @@ namespace LuaGlobalFunctions
Eluna::Push(L); Eluna::Push(L);
return 1; return 1;
} }
#ifndef AZEROTHCORE
eObjectMgr->AddGameobjectToGrid(guidLow, eObjectMgr->GetGameObjectData(guidLow)); eObjectMgr->AddGameobjectToGrid(guidLow, eObjectMgr->GetGameObjectData(guidLow));
#else
eObjectMgr->AddGameobjectToGrid(guidLow, eObjectMgr->GetGOData(guidLow));
#endif
} }
else else
map->AddToMap(object); map->AddToMap(object);