summaryrefslogtreecommitdiffstats
path: root/src/weapons/Weapon.cpp
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-04-15 19:58:28 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2020-04-15 19:58:28 +0200
commita9713125dc6d7857e14da8ea50d4ac4f37e6c8db (patch)
tree4ae842f7e1d55f4fe18af5ad8c30a8a3f9c758ed /src/weapons/Weapon.cpp
parentrem comment (diff)
downloadre3-a9713125dc6d7857e14da8ea50d4ac4f37e6c8db.tar
re3-a9713125dc6d7857e14da8ea50d4ac4f37e6c8db.tar.gz
re3-a9713125dc6d7857e14da8ea50d4ac4f37e6c8db.tar.bz2
re3-a9713125dc6d7857e14da8ea50d4ac4f37e6c8db.tar.lz
re3-a9713125dc6d7857e14da8ea50d4ac4f37e6c8db.tar.xz
re3-a9713125dc6d7857e14da8ea50d4ac4f37e6c8db.tar.zst
re3-a9713125dc6d7857e14da8ea50d4ac4f37e6c8db.zip
Diffstat (limited to '')
-rw-r--r--src/weapons/Weapon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/weapons/Weapon.cpp b/src/weapons/Weapon.cpp
index fbd25f81..96f86989 100644
--- a/src/weapons/Weapon.cpp
+++ b/src/weapons/Weapon.cpp
@@ -856,7 +856,7 @@ CWeapon::DoBulletImpact(CEntity *shooter, CEntity *victim,
{
CGlass::WasGlassHitByBullet(victim, point->point);
- CVector traceTarget = *target;
+ CVector traceTarget = point->point;
CBulletTraces::AddTrace(source, &traceTarget);
if ( shooter != nil )