summaryrefslogtreecommitdiffstats
path: root/src/weapons
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-04-09 03:31:46 +0200
committerSergeanur <s.anureev@yandex.ua>2021-04-09 03:31:46 +0200
commit519218572a1303f6717bbc2cccc45d0c8a272d33 (patch)
tree50ae3120394891b6810ede249c8a71811c0591bc /src/weapons
parentMerge branch 'miami' into lcs (diff)
parentupdate librw (diff)
downloadre3-519218572a1303f6717bbc2cccc45d0c8a272d33.tar
re3-519218572a1303f6717bbc2cccc45d0c8a272d33.tar.gz
re3-519218572a1303f6717bbc2cccc45d0c8a272d33.tar.bz2
re3-519218572a1303f6717bbc2cccc45d0c8a272d33.tar.lz
re3-519218572a1303f6717bbc2cccc45d0c8a272d33.tar.xz
re3-519218572a1303f6717bbc2cccc45d0c8a272d33.tar.zst
re3-519218572a1303f6717bbc2cccc45d0c8a272d33.zip
Diffstat (limited to 'src/weapons')
-rw-r--r--src/weapons/Weapon.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/weapons/Weapon.cpp b/src/weapons/Weapon.cpp
index 49102fc1..4bf02e88 100644
--- a/src/weapons/Weapon.cpp
+++ b/src/weapons/Weapon.cpp
@@ -1066,7 +1066,11 @@ CWeapon::FireInstantHit(CEntity *shooter, CVector *fireSource)
if ( info->m_nFiringRate >= 50 || !(++counter & 1) )
{
+#ifdef FIX_BUGS
+ AddGunFlashBigGuns(*fireSource, target);
+#else
AddGunFlashBigGuns(*fireSource, *fireSource + target);
+#endif
CVector gunshellPos = *fireSource;
gunshellPos -= CVector(0.65f*ahead.x, 0.65f*ahead.y, 0.0f);