Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
fixed crash
  • Loading branch information
Fire-Head committed Apr 15, 2020
1 parent a971312 commit 190bc696d898f77c7355a0d919add8ab4f232b15
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 )
{

0 comments on commit 190bc69

Please sign in to comment.