From 2b031bdea6bbe7f300ddf68827bd40bdce4c4f4f Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Thu, 9 Apr 2020 19:56:31 +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());