summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-02-03 23:37:10 +0100
committerwithmorten <morten.with@gmail.com>2021-02-03 23:37:10 +0100
commite6d86bfab509a59119a5f8156cc3b600a47bb3e8 (patch)
tree822f0a4345aaaa52439336df1f5f903ca1b5ed53 /src
parentf7959d5646cf346a8134a0cea4db258fa3347461 (diff)
fix VC_PED_PORTS build
Diffstat (limited to 'src')
-rw-r--r--src/peds/PedAI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/PedAI.cpp b/src/peds/PedAI.cpp
index 56c9429a..7f7120af 100644
--- a/src/peds/PedAI.cpp
+++ b/src/peds/PedAI.cpp
@@ -3454,7 +3454,7 @@ CPed::BeingDraggedFromCar(void)
#ifdef VC_PED_PORTS
if (m_objective == OBJECTIVE_LEAVE_CAR_AND_DIE) {
if (m_pMyVehicle) {
- m_pMyVehicle->ProcessOpenDoor(m_vehDoor, NUM_ANIMS, m_pVehicleAnim->currentTime * 5.0f);
+ m_pMyVehicle->ProcessOpenDoor(m_vehDoor, ANIM_STD_NUM, m_pVehicleAnim->currentTime * 5.0f);
}
}
#endif