diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-04-09 03:31:46 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-04-09 03:31:46 +0200 |
commit | 519218572a1303f6717bbc2cccc45d0c8a272d33 (patch) | |
tree | 50ae3120394891b6810ede249c8a71811c0591bc /src/weapons/Weapon.cpp | |
parent | Merge branch 'miami' into lcs (diff) | |
parent | update librw (diff) | |
download | re3-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/Weapon.cpp')
-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 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); |