Core/Spells: Changed boss knockback immunity

This commit is contained in:
johnholiver
2011-05-07 22:16:30 +02:00
committed by Shauren
parent 61b165648c
commit 8cc4125664
3 changed files with 5 additions and 7 deletions
+1 -1
View File
@@ -16200,7 +16200,7 @@ void Unit::KnockbackFrom(float x, float y, float speedXY, float speedZ)
player = (Player*)this;
else
{
player = dynamic_cast<Player*>(GetCharmer());
player = GetCharmer()->ToPlayer();
if (player && player->m_mover != this)
player = NULL;
}