fixed crash

This commit is contained in:
Fire-Head 2020-04-15 21:29:00 +03:00
parent a9713125dc
commit 190bc696d8

View file

@ -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 )
{