*Cleanup of charm/farsight code. Hope this can fix some crash bugs.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-02-15 17:33:36 -06:00
1 parent 058b7c32e4
commit bb75ff7b79
10 files changed
+41 -130

No files matched your search

+2 -2
View File
@@ -2172,11 +2172,11 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
{
Creature *totem = ObjectAccessor::GetCreature(*caster, guid);
if (totem && totem->isTotem())
totem->AddPlayerToVision((Player*)caster);
((Player*)caster)->CastSpell(totem, 6277, true);
}
}
else
((Player*)caster)->RemoveFarsightTarget();
((Player*)caster)->StopCastingBindSight();
return;
}
break;