summaryrefslogtreecommitdiffstats
path: root/src/weapons/BulletInfo.cpp
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-08-27 18:52:43 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2020-08-27 18:52:43 +0200
commita38702a7d233fbadb4dfbbf250e7e5653dad3eed (patch)
treeb65c0bbecf36eed11fd503a49d5498b20cff8acd /src/weapons/BulletInfo.cpp
parentUpdate Ped.cpp (diff)
downloadre3-a38702a7d233fbadb4dfbbf250e7e5653dad3eed.tar
re3-a38702a7d233fbadb4dfbbf250e7e5653dad3eed.tar.gz
re3-a38702a7d233fbadb4dfbbf250e7e5653dad3eed.tar.bz2
re3-a38702a7d233fbadb4dfbbf250e7e5653dad3eed.tar.lz
re3-a38702a7d233fbadb4dfbbf250e7e5653dad3eed.tar.xz
re3-a38702a7d233fbadb4dfbbf250e7e5653dad3eed.tar.zst
re3-a38702a7d233fbadb4dfbbf250e7e5653dad3eed.zip
Diffstat (limited to 'src/weapons/BulletInfo.cpp')
-rw-r--r--src/weapons/BulletInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/weapons/BulletInfo.cpp b/src/weapons/BulletInfo.cpp
index 41d9c730..0efe6688 100644
--- a/src/weapons/BulletInfo.cpp
+++ b/src/weapons/BulletInfo.cpp
@@ -113,7 +113,7 @@ void CBulletInfo::Update(void)
CEntity* pHitEntity;
if (CWorld::ProcessLineOfSight(vecOldPos, vecNewPos, point, pHitEntity, true, true, true, true, true, false, false, true)) {
if (pBullet->m_pSource && (pHitEntity->IsPed() || pHitEntity->IsVehicle()))
- CStats::InstantHitsHitByPlayer++;
+ CStats::BulletsThatHit++;
CWeapon::CheckForShootingVehicleOccupant(&pHitEntity, &point, pBullet->m_eWeaponType, vecOldPos, vecNewPos);
if (pHitEntity->IsPed()) {