summaryrefslogtreecommitdiffstats
path: root/src/control/Script4.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-26 18:35:40 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-26 18:35:40 +0100
commit0f623c23543166a67c7fd1881cc05995dd274bba (patch)
treef5ff0a8ada3d0211af2c3a2a04b7b680435a1a77 /src/control/Script4.cpp
parentFix doubles in ZoneCull (diff)
downloadre3-0f623c23543166a67c7fd1881cc05995dd274bba.tar
re3-0f623c23543166a67c7fd1881cc05995dd274bba.tar.gz
re3-0f623c23543166a67c7fd1881cc05995dd274bba.tar.bz2
re3-0f623c23543166a67c7fd1881cc05995dd274bba.tar.lz
re3-0f623c23543166a67c7fd1881cc05995dd274bba.tar.xz
re3-0f623c23543166a67c7fd1881cc05995dd274bba.tar.zst
re3-0f623c23543166a67c7fd1881cc05995dd274bba.zip
Diffstat (limited to 'src/control/Script4.cpp')
-rw-r--r--src/control/Script4.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/control/Script4.cpp b/src/control/Script4.cpp
index 40f9f2f1..93956ea2 100644
--- a/src/control/Script4.cpp
+++ b/src/control/Script4.cpp
@@ -68,7 +68,7 @@ int8 CRunningScript::ProcessCommands800To899(int32 command)
pPed->ApplyHeadShot(WEAPONTYPE_SNIPERRIFLE, pPed->GetNodePosition(PED_HEAD), true);
}
else {
- pPed->SetDie(ANIM_KO_SHOT_FRONT1, 4.0f, 0.0f);
+ pPed->SetDie(ANIM_STD_KO_FRONT, 4.0f, 0.0f);
}
return 0;
}
@@ -81,7 +81,7 @@ int8 CRunningScript::ProcessCommands800To899(int32 command)
pPed->ApplyHeadShot(WEAPONTYPE_SNIPERRIFLE, pPed->GetNodePosition(PED_HEAD), true);
}
else {
- pPed->SetDie(ANIM_KO_SHOT_FRONT1, 4.0f, 0.0f);
+ pPed->SetDie(ANIM_STD_KO_FRONT, 4.0f, 0.0f);
}
return 0;
}
@@ -793,7 +793,7 @@ int8 CRunningScript::ProcessCommands800To899(int32 command)
pPed->m_pVehicleAnim = nil;
pPed->RestartNonPartialAnims();
pPed->SetMoveState(PEDMOVE_NONE);
- CAnimManager::BlendAnimation(pPed->GetClump(), pPed->m_animGroup, ANIM_IDLE_STANCE, 100.0f);
+ CAnimManager::BlendAnimation(pPed->GetClump(), pPed->m_animGroup, ANIM_STD_IDLE, 100.0f);
pos.z += pPed->GetDistanceFromCentreOfMassToBaseOfModel();
pPed->Teleport(pos);
CTheScripts::ClearSpaceForMissionEntity(pos, pPed);