diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-02-26 19:31:26 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-02-26 19:31:26 +0100 |
commit | c5303c2ea4f5bb13d5a3800a5135c7fd27e6b9f6 (patch) | |
tree | bd8682dc715911936b5c1fd384ef90eccb61df7f | |
parent | Uhh, right (diff) | |
download | re3-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 |
-rw-r--r-- | src/weapons/Weapon.cpp | 4 |
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); |