mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Fix TC build
This commit is contained in:
@@ -440,7 +440,7 @@ namespace LuaCreature
|
|||||||
int GetCurrentWaypointId(lua_State* L, Creature* creature)
|
int GetCurrentWaypointId(lua_State* L, Creature* creature)
|
||||||
{
|
{
|
||||||
#ifdef TRINITY
|
#ifdef TRINITY
|
||||||
Eluna::Push(L, creature->GetCurrentWaypointID());
|
Eluna::Push(L, creature->GetCurrentWaypointInfo().first);
|
||||||
#else
|
#else
|
||||||
Eluna::Push(L, creature->GetMotionMaster()->getLastReachedWaypoint());
|
Eluna::Push(L, creature->GetMotionMaster()->getLastReachedWaypoint());
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user