From ca8a22023bc7f25856afe4c059cb5620972f0257 Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Sat, 26 Nov 2016 21:48:47 +0200 Subject: [PATCH] Fix mangos build --- PlayerMethods.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PlayerMethods.h b/PlayerMethods.h index 7acd05c..39fff49 100644 --- a/PlayerMethods.h +++ b/PlayerMethods.h @@ -2147,8 +2147,8 @@ namespace LuaPlayer #ifdef TRINITY player->SendSummonRequestFrom(summoner); #else - float x, y, x; - summoner->GetLocation(x,y,z); + float x, y, z; + summoner->GetPosition(x,y,z); player->SetSummonPoint(summoner->GetMapId(), x, y, z); WorldPacket data(SMSG_SUMMON_REQUEST, 8 + 4 + 4);