Merge pull request #310 from Kitzunu/fix-acore-build

Update CreatureMethods.h to fix ACore build
This commit is contained in:
Rochet2
2020-04-10 01:16:31 +03:00
committed by GitHub

View File

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