change ifdef to fix cmangos build

This commit is contained in:
Rochet2
2015-04-23 13:51:40 +03:00
parent 3aba229cee
commit d80159127c

View File

@@ -138,10 +138,10 @@ namespace LuaGameObject
*/
int GetLootRecipientGroup(Eluna* /*E*/, lua_State* L, GameObject* go)
{
#ifdef MANGOS
Eluna::Push(L, go->GetGroupLootRecipient());
#else
#ifdef TRINITY
Eluna::Push(L, go->GetLootRecipientGroup());
#else
Eluna::Push(L, go->GetGroupLootRecipient());
#endif
return 1;
}