Mangos build fix

This commit is contained in:
Foereaper
2015-04-10 02:23:16 +02:00
parent 60952d2a7f
commit 0b3bbc70f0

View File

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