summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-15 22:48:08 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-15 22:48:08 +0200
commit2a96846eac58bd9b0c7ac87f6e7c1ab8356280d0 (patch)
tree3fca60291eacb9ab4f82a5790a6cccce786d667a /src
parentsync with master (diff)
downloadre3-2a96846eac58bd9b0c7ac87f6e7c1ab8356280d0.tar
re3-2a96846eac58bd9b0c7ac87f6e7c1ab8356280d0.tar.gz
re3-2a96846eac58bd9b0c7ac87f6e7c1ab8356280d0.tar.bz2
re3-2a96846eac58bd9b0c7ac87f6e7c1ab8356280d0.tar.lz
re3-2a96846eac58bd9b0c7ac87f6e7c1ab8356280d0.tar.xz
re3-2a96846eac58bd9b0c7ac87f6e7c1ab8356280d0.tar.zst
re3-2a96846eac58bd9b0c7ac87f6e7c1ab8356280d0.zip
Diffstat (limited to 'src')
-rw-r--r--src/weapons/BulletInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/weapons/BulletInfo.cpp b/src/weapons/BulletInfo.cpp
index d975c464..9e83a4ec 100644
--- a/src/weapons/BulletInfo.cpp
+++ b/src/weapons/BulletInfo.cpp
@@ -114,7 +114,7 @@ void CBulletInfo::Update(void)
}
}
if (CGame::nastyGame) {
- CVector vecParticleDirection = (point.point - pPed->GetPosition()) / 100;
+ CVector vecParticleDirection = (point.point - pPed->GetPosition()) * 0.01f;
vecParticleDirection.z = 0.01f;
if (pPed->GetIsOnScreen()) {
for (int j = 0; j < NUM_PED_BLOOD_PARTICLES; j++)
@@ -129,7 +129,7 @@ void CBulletInfo::Update(void)
if (pAnim) {
pAnim->SetCurrentTime(0.0f);
pAnim->flags |= ASSOC_RUNNING;
- pAnim->flags &= ASSOC_FADEOUTWHENDONE;
+ pAnim->flags &= ~ASSOC_FADEOUTWHENDONE;
}
}
pBullet->m_bInUse = false;