mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
change ifdef to fix cmangos build
This commit is contained in:
@@ -138,10 +138,10 @@ namespace LuaGameObject
|
|||||||
*/
|
*/
|
||||||
int GetLootRecipientGroup(Eluna* /*E*/, lua_State* L, GameObject* go)
|
int GetLootRecipientGroup(Eluna* /*E*/, lua_State* L, GameObject* go)
|
||||||
{
|
{
|
||||||
#ifdef MANGOS
|
#ifdef TRINITY
|
||||||
Eluna::Push(L, go->GetGroupLootRecipient());
|
|
||||||
#else
|
|
||||||
Eluna::Push(L, go->GetLootRecipientGroup());
|
Eluna::Push(L, go->GetLootRecipientGroup());
|
||||||
|
#else
|
||||||
|
Eluna::Push(L, go->GetGroupLootRecipient());
|
||||||
#endif
|
#endif
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user