Update CreatureMethods.h

This commit is contained in:
RedSkull-666
2020-04-09 21:51:44 +02:00
committed by GitHub
parent 2cdf63d45f
commit ab4b5eebde

View File

@@ -423,7 +423,7 @@ namespace LuaCreature
*/ */
int GetWanderRadius(lua_State* L, Creature* creature) int GetWanderRadius(lua_State* L, Creature* creature)
{ {
#ifdef TRINITY #if defined TRINITY || AZEROTHCORE
Eluna::Push(L, creature->GetWanderDistance()); Eluna::Push(L, creature->GetWanderDistance());
#else #else
Eluna::Push(L, creature->GetRespawnRadius()); Eluna::Push(L, creature->GetRespawnRadius());