1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 06:50:00 +00:00

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