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:
parent
a9713125dc
commit
190bc696d8
|
@ -2038,7 +2038,7 @@ FireOneInstantHitRound(CVector *source, CVector *target, int32 damage)
|
||||||
CEntity *victim;
|
CEntity *victim;
|
||||||
CWorld::ProcessLineOfSight(*source, *target, point, victim, true, true, true, true, true, true, false);
|
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 )
|
if ( victim )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue