diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-08-27 18:52:43 +0200 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-08-27 18:52:43 +0200 |
commit | a38702a7d233fbadb4dfbbf250e7e5653dad3eed (patch) | |
tree | b65c0bbecf36eed11fd503a49d5498b20cff8acd /src/weapons/BulletInfo.cpp | |
parent | Update Ped.cpp (diff) | |
download | re3-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.cpp | 2 |
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()) { |