Update CreatureMethods.h

This commit is contained in:
Kitzunu
2020-04-09 19:56:31 +02:00
parent 7f5387806f
commit 2b031bdea6

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());