summaryrefslogtreecommitdiffstats
path: root/src/weapons/Weapon.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-02-26 19:31:26 +0100
committerSergeanur <s.anureev@yandex.ua>2021-02-26 19:31:26 +0100
commitc5303c2ea4f5bb13d5a3800a5135c7fd27e6b9f6 (patch)
treebd8682dc715911936b5c1fd384ef90eccb61df7f /src/weapons/Weapon.cpp
parentUhh, right (diff)
downloadre3-c5303c2ea4f5bb13d5a3800a5135c7fd27e6b9f6.tar
re3-c5303c2ea4f5bb13d5a3800a5135c7fd27e6b9f6.tar.gz
re3-c5303c2ea4f5bb13d5a3800a5135c7fd27e6b9f6.tar.bz2
re3-c5303c2ea4f5bb13d5a3800a5135c7fd27e6b9f6.tar.lz
re3-c5303c2ea4f5bb13d5a3800a5135c7fd27e6b9f6.tar.xz
re3-c5303c2ea4f5bb13d5a3800a5135c7fd27e6b9f6.tar.zst
re3-c5303c2ea4f5bb13d5a3800a5135c7fd27e6b9f6.zip
Diffstat (limited to 'src/weapons/Weapon.cpp')
-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 7a54941f..8e2f02f9 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);