From c7821635fde41f2302d7f755ae80d8f1a3c815b7 Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Tue, 18 May 2021 14:06:40 +0300 Subject: Wait states ported (scripted animations) --- src/control/Script9.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/control/Script9.cpp') diff --git a/src/control/Script9.cpp b/src/control/Script9.cpp index 42851bbc..f6ebc299 100644 --- a/src/control/Script9.cpp +++ b/src/control/Script9.cpp @@ -568,11 +568,11 @@ int8 CRunningScript::ProcessCommands1500To1599(int32 command) } case COMMAND_LOAD_NON_STANDARD_PED_ANIM: CollectParameters(&m_nIp, 1); - // CPed::LoadNonStandardPedAnim(GET_INTEGER_PARAM(0)); + CPed::LoadNonStandardPedAnim((eWaitState)GET_INTEGER_PARAM(0)); return 0; case COMMAND_UNLOAD_NON_STANDARD_PED_ANIM: CollectParameters(&m_nIp, 1); - // CPed::UnloadNonStandardPedAnim(SET_INTEGER_PARAM(0)); + CPed::UnloadNonStandardPedAnim((eWaitState)GET_INTEGER_PARAM(0)); return 0; case COMMAND_1566: CollectParameters(&m_nIp, 1); -- cgit v1.2.3