diff --git a/CreatureMethods.h b/CreatureMethods.h index b6d66e4..a13ff82 100644 --- a/CreatureMethods.h +++ b/CreatureMethods.h @@ -1062,7 +1062,7 @@ auto const& threatlist = creature->getThreatManager().getThreatList(); { float dist = Eluna::CHECKVAL(L, 2); -#ifdef TRINITY +#if defined TRINITY || AZEROTHCORE creature->SetWanderDistance(dist); #else creature->SetRespawnRadius(dist);