mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-23 01:29:16 +01: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 New Issue
Block a user