summaryrefslogtreecommitdiffstats
path: root/src/control/Script4.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-02-10 08:01:53 +0100
committerSergeanur <s.anureev@yandex.ua>2021-02-10 08:01:53 +0100
commitb6af7393e8494570de4bfa837ba2090c522b28bb (patch)
treeaba068f1307a1a4e8c3d72adf69c0869f5c29f0e /src/control/Script4.cpp
parentController menu (diff)
parentfix clouds (diff)
downloadre3-b6af7393e8494570de4bfa837ba2090c522b28bb.tar
re3-b6af7393e8494570de4bfa837ba2090c522b28bb.tar.gz
re3-b6af7393e8494570de4bfa837ba2090c522b28bb.tar.bz2
re3-b6af7393e8494570de4bfa837ba2090c522b28bb.tar.lz
re3-b6af7393e8494570de4bfa837ba2090c522b28bb.tar.xz
re3-b6af7393e8494570de4bfa837ba2090c522b28bb.tar.zst
re3-b6af7393e8494570de4bfa837ba2090c522b28bb.zip
Diffstat (limited to 'src/control/Script4.cpp')
-rw-r--r--src/control/Script4.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Script4.cpp b/src/control/Script4.cpp
index 9830f0dc..878278c5 100644
--- a/src/control/Script4.cpp
+++ b/src/control/Script4.cpp
@@ -822,7 +822,7 @@ int8 CRunningScript::ProcessCommands800To899(int32 command)
}
}
pPed->m_pMyVehicle->m_nGettingOutFlags &= ~flags;
- pPed->m_pMyVehicle->ProcessOpenDoor(pPed->m_vehDoor, NUM_STD_ANIMS, 0.0f);
+ pPed->m_pMyVehicle->ProcessOpenDoor(pPed->m_vehDoor, ANIM_STD_NUM, 0.0f);
}
}
}
@@ -839,7 +839,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, 1000.0f);
+ CAnimManager::BlendAnimation(pPed->GetClump(), pPed->m_animGroup, ANIM_STD_IDLE, 1000.0f);
pos.z += pPed->GetDistanceFromCentreOfMassToBaseOfModel();
pPed->Teleport(pos);
CTheScripts::ClearSpaceForMissionEntity(pos, pPed);