From ab4b5eebde34c047ce297cd59a25422067e85247 Mon Sep 17 00:00:00 2001 From: RedSkull-666 <60255796+RedSkull-666@users.noreply.github.com> Date: Thu, 9 Apr 2020 21:51:44 +0200 Subject: [PATCH] Update CreatureMethods.h --- CreatureMethods.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CreatureMethods.h b/CreatureMethods.h index 68c5b6d..b6d66e4 100644 --- a/CreatureMethods.h +++ b/CreatureMethods.h @@ -423,7 +423,7 @@ namespace LuaCreature */ int GetWanderRadius(lua_State* L, Creature* creature) { -#ifdef TRINITY +#if defined TRINITY || AZEROTHCORE Eluna::Push(L, creature->GetWanderDistance()); #else Eluna::Push(L, creature->GetRespawnRadius());