diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-08-27 19:27:28 +0200 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-08-27 19:27:28 +0200 |
commit | 210c7b8785779a621f608540571513efcca1021a (patch) | |
tree | f8da58a1324795e7ca027580ea65430721ffda87 /src/weapons/Weapon.cpp | |
parent | weapons (diff) | |
download | re3-210c7b8785779a621f608540571513efcca1021a.tar re3-210c7b8785779a621f608540571513efcca1021a.tar.gz re3-210c7b8785779a621f608540571513efcca1021a.tar.bz2 re3-210c7b8785779a621f608540571513efcca1021a.tar.lz re3-210c7b8785779a621f608540571513efcca1021a.tar.xz re3-210c7b8785779a621f608540571513efcca1021a.tar.zst re3-210c7b8785779a621f608540571513efcca1021a.zip |
Diffstat (limited to 'src/weapons/Weapon.cpp')
-rw-r--r-- | src/weapons/Weapon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/weapons/Weapon.cpp b/src/weapons/Weapon.cpp index a3918a61..d5705ace 100644 --- a/src/weapons/Weapon.cpp +++ b/src/weapons/Weapon.cpp @@ -2412,7 +2412,7 @@ CWeapon::FireInstantHitFromCar(CVehicle *shooter, bool left, bool right) else if ( right ) target = source + info->m_fRange * shooter->GetRight(); else - target = source + info->m_fRange * shooter->GetRight(); + target = source + info->m_fRange * shooter->GetForward(); } else if ( left ) |