From d80159127c48557856755de10d160d1512a4ffd9 Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Thu, 23 Apr 2015 13:51:40 +0300 Subject: [PATCH] change ifdef to fix cmangos build --- GameObjectMethods.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GameObjectMethods.h b/GameObjectMethods.h index f5815b2..4ced7fe 100644 --- a/GameObjectMethods.h +++ b/GameObjectMethods.h @@ -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; }