a cute mistake

This commit is contained in:
eray orçunus 2020-07-21 06:41:41 +03:00
parent 70df13f9d3
commit 6dbc0c7dda

View file

@ -1946,7 +1946,7 @@ CPed::PlayFootSteps(void)
CVector particlePos = GetPosition() + GetForward() * 0.3f; CVector particlePos = GetPosition() + GetForward() * 0.3f;
particlePos.z -= 1.2f; particlePos.z -= 1.2f;
CVector particleDir = m_vecMoveSpeed * 0.75f; CVector particleDir = m_vecMoveSpeed * -0.75f;
particleDir.z = CGeneral::GetRandomNumberInRange(0.01f, 0.03f); particleDir.z = CGeneral::GetRandomNumberInRange(0.01f, 0.03f);
CParticle::AddParticle(PARTICLE_PED_SPLASH, particlePos, particleDir, nil, 0.8f * particleSize, CRGBA(155,155,185,128), 0, 0, 0, 0); CParticle::AddParticle(PARTICLE_PED_SPLASH, particlePos, particleDir, nil, 0.8f * particleSize, CRGBA(155,155,185,128), 0, 0, 0, 0);