diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-04-15 20:29:00 +0200 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-04-15 20:29:00 +0200 |
commit | 190bc696d898f77c7355a0d919add8ab4f232b15 (patch) | |
tree | 5e1616d555add52d5cd785c3f59711adf9331083 /src/weapons/Weapon.cpp | |
parent | fixed uzi/ak47/m16 trace (diff) | |
download | re3-190bc696d898f77c7355a0d919add8ab4f232b15.tar re3-190bc696d898f77c7355a0d919add8ab4f232b15.tar.gz re3-190bc696d898f77c7355a0d919add8ab4f232b15.tar.bz2 re3-190bc696d898f77c7355a0d919add8ab4f232b15.tar.lz re3-190bc696d898f77c7355a0d919add8ab4f232b15.tar.xz re3-190bc696d898f77c7355a0d919add8ab4f232b15.tar.zst re3-190bc696d898f77c7355a0d919add8ab4f232b15.zip |
Diffstat (limited to 'src/weapons/Weapon.cpp')
-rw-r--r-- | src/weapons/Weapon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/weapons/Weapon.cpp b/src/weapons/Weapon.cpp index 96f86989..7b6b4170 100644 --- a/src/weapons/Weapon.cpp +++ b/src/weapons/Weapon.cpp @@ -2038,7 +2038,7 @@ FireOneInstantHitRound(CVector *source, CVector *target, int32 damage) CEntity *victim; CWorld::ProcessLineOfSight(*source, *target, point, victim, true, true, true, true, true, true, false); - CParticle::AddParticle(PARTICLE_HELI_ATTACK, *source, (*target) - (*source) * 0.15f); + CParticle::AddParticle(PARTICLE_HELI_ATTACK, *source, ((*target) - (*source)) * 0.15f); if ( victim ) { |