indent + header fix

This commit is contained in:
Treeston
2018-08-23 17:44:14 +02:00
parent abd3d55668
commit 50f70a3faf

View File

@@ -26,6 +26,7 @@
#include "Map.h"
#include "MapReference.h"
#include "MotionMaster.h"
#include "ObjectAccessor.h"
#include "Player.h"
#include "SpellMgr.h"
#include "TemporarySummon.h"
@@ -40,7 +41,7 @@ void CreatureAI::OnCharmed(bool isNew)
if (!me->HasReactState(REACT_PASSIVE))
if (Unit* lastCharmer = ObjectAccessor::GetUnit(*me, me->LastCharmerGUID))
me->EngageWithTarget(lastCharmer);
me->LastCharmerGUID.Clear();
me->LastCharmerGUID.Clear();
}
UnitAI::OnCharmed(isNew);
}