[Client] Reset hitPosition in MechanicsHelper::resetAttack()

pull/473/head
David Cernat 6 years ago
parent 7d221509cd
commit 31a9b77f34

@ -188,6 +188,7 @@ void MechanicsHelper::resetAttack(Attack* attack)
attack->block = false;
attack->applyWeaponEnchantment = false;
attack->applyProjectileEnchantment = false;
attack->hitPosition.pos[0] = attack->hitPosition.pos[1] = attack->hitPosition.pos[2] = 0;
attack->target.guid = RakNet::RakNetGUID();
attack->target.refId.clear();
attack->target.refNum = 0;

Loading…
Cancel
Save