TakeDamage now has the cThrownSnowballEntity instead of the creator's object.

master
STRWarrior 2014-03-11 16:24:05 +01:00
parent deafec874d
commit ef3c5a97a4
1 changed files with 1 additions and 1 deletions

View File

@ -677,7 +677,7 @@ void cThrownSnowballEntity::OnHitEntity(cEntity & a_EntityHit, const Vector3d &
TotalDamage = 1;
}
}
a_EntityHit.TakeDamage(dtRangedAttack, m_Creator, TotalDamage, 1);
a_EntityHit.TakeDamage(dtRangedAttack, this, TotalDamage, 1);
Destroy(true);
}