forked from mirror/openmw-tes3mp
[Client] Reset hitPosition in MechanicsHelper::resetAttack()
This commit is contained in:
parent
7d221509cd
commit
31a9b77f34
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue