wops (042f551 follow-up)

This commit is contained in:
Treeston
2018-08-23 16:54:02 +02:00
parent b4cdf556f1
commit abd3d55668
2 changed files with 0 additions and 3 deletions

View File

@@ -1325,7 +1325,6 @@ PlayerAI::TargetedSpell SimpleCharmedPlayerAI::SelectAppropriateCastForSpec()
static const float CASTER_CHASE_DISTANCE = 28.0f;
void SimpleCharmedPlayerAI::UpdateAI(const uint32 diff)
{
printf("SCPAI updateai %u\n", diff);
Creature* charmer = GetCharmer();
if (!charmer)
return;
@@ -1429,7 +1428,6 @@ void SimpleCharmedPlayerAI::UpdateAI(const uint32 diff)
void SimpleCharmedPlayerAI::OnCharmed(bool isNew)
{
printf("SCPAI oncharm %u\n", isNew);
if (me->IsCharmed())
{
me->CastStop();

View File

@@ -9425,7 +9425,6 @@ void Unit::SetAI(UnitAI* newAI)
void Unit::ScheduleAIChange()
{
printf("ScheduleAIChange %s\n", GetName().c_str());
bool const charmed = IsCharmed();
// if charm is applied, we can't have disabled AI already, and vice versa
if (charmed)