mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 07:30:01 +00:00
anim fix
This commit is contained in:
parent
1795f3d479
commit
2a96846eac
|
@ -114,7 +114,7 @@ void CBulletInfo::Update(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (CGame::nastyGame) {
|
if (CGame::nastyGame) {
|
||||||
CVector vecParticleDirection = (point.point - pPed->GetPosition()) / 100;
|
CVector vecParticleDirection = (point.point - pPed->GetPosition()) * 0.01f;
|
||||||
vecParticleDirection.z = 0.01f;
|
vecParticleDirection.z = 0.01f;
|
||||||
if (pPed->GetIsOnScreen()) {
|
if (pPed->GetIsOnScreen()) {
|
||||||
for (int j = 0; j < NUM_PED_BLOOD_PARTICLES; j++)
|
for (int j = 0; j < NUM_PED_BLOOD_PARTICLES; j++)
|
||||||
|
@ -129,7 +129,7 @@ void CBulletInfo::Update(void)
|
||||||
if (pAnim) {
|
if (pAnim) {
|
||||||
pAnim->SetCurrentTime(0.0f);
|
pAnim->SetCurrentTime(0.0f);
|
||||||
pAnim->flags |= ASSOC_RUNNING;
|
pAnim->flags |= ASSOC_RUNNING;
|
||||||
pAnim->flags &= ASSOC_FADEOUTWHENDONE;
|
pAnim->flags &= ~ASSOC_FADEOUTWHENDONE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pBullet->m_bInUse = false;
|
pBullet->m_bInUse = false;
|
||||||
|
|
Loading…
Reference in a new issue