summaryrefslogtreecommitdiffstats
path: root/src/render/WaterCannon.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-27 17:50:24 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-27 17:50:24 +0100
commit97351ad2c2a05f9221601b27432aaf7b51507103 (patch)
tree7ce01d3e594fdf2894199cda0474bbc8f65de33b /src/render/WaterCannon.cpp
parentFix anim id in replay (diff)
downloadre3-97351ad2c2a05f9221601b27432aaf7b51507103.tar
re3-97351ad2c2a05f9221601b27432aaf7b51507103.tar.gz
re3-97351ad2c2a05f9221601b27432aaf7b51507103.tar.bz2
re3-97351ad2c2a05f9221601b27432aaf7b51507103.tar.lz
re3-97351ad2c2a05f9221601b27432aaf7b51507103.tar.xz
re3-97351ad2c2a05f9221601b27432aaf7b51507103.tar.zst
re3-97351ad2c2a05f9221601b27432aaf7b51507103.zip
Diffstat (limited to 'src/render/WaterCannon.cpp')
-rw-r--r--src/render/WaterCannon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/WaterCannon.cpp b/src/render/WaterCannon.cpp
index 53b4d30e..da05a1ca 100644
--- a/src/render/WaterCannon.cpp
+++ b/src/render/WaterCannon.cpp
@@ -242,7 +242,7 @@ void CWaterCannon::PushPeds(void)
ped->m_vecMoveSpeed.x *= (0.2f / pedSpeed2D);
ped->m_vecMoveSpeed.y *= (0.2f / pedSpeed2D);
}
- ped->SetFall(2000, (AnimationId)(localDir + ANIM_KO_SKID_FRONT), 0);
+ ped->SetFall(2000, (AnimationId)(localDir + ANIM_STD_HIGHIMPACT_FRONT), 0);
CParticle::AddParticle(PARTICLE_STEAM_NY_SLOWMOTION, ped->GetPosition(), ped->m_vecMoveSpeed * 0.3f, 0, 0.5f);
CParticle::AddParticle(PARTICLE_CAR_SPLASH, ped->GetPosition(), ped->m_vecMoveSpeed * -0.3f + CVector(0.f, 0.f, 0.5f), 0, 0.5f,
CGeneral::GetRandomNumberInRange(0.f, 10.f), CGeneral::GetRandomNumberInRange(0.f, 90.f), 1);