From e2054785d0928f37bfedb6e5ad0b2a5648a7092a Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Wed, 8 Nov 2017 22:03:31 +0200 Subject: [PATCH] Fix TC build --- CreatureMethods.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CreatureMethods.h b/CreatureMethods.h index 1f83072..bc48b43 100644 --- a/CreatureMethods.h +++ b/CreatureMethods.h @@ -440,7 +440,7 @@ namespace LuaCreature int GetCurrentWaypointId(lua_State* L, Creature* creature) { #ifdef TRINITY - Eluna::Push(L, creature->GetCurrentWaypointID()); + Eluna::Push(L, creature->GetCurrentWaypointInfo().first); #else Eluna::Push(L, creature->GetMotionMaster()->getLastReachedWaypoint()); #endif