1
0

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

This commit is contained in:
STRWarrior 2014-03-11 16:24:05 +01:00
parent deafec874d
commit ef3c5a97a4

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);
}