Update CreatureMethods.h

This commit is contained in:
Kitzunu
2020-04-10 00:14:12 +02:00
parent acd2ce4bbf
commit 243cdf98f4

View File

@@ -1062,7 +1062,7 @@ auto const& threatlist = creature->getThreatManager().getThreatList();
{ {
float dist = Eluna::CHECKVAL<float>(L, 2); float dist = Eluna::CHECKVAL<float>(L, 2);
#ifdef TRINITY #if defined TRINITY || AZEROTHCORE
creature->SetWanderDistance(dist); creature->SetWanderDistance(dist);
#else #else
creature->SetRespawnRadius(dist); creature->SetRespawnRadius(dist);