summaryrefslogtreecommitdiffstats
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
parentreduce warnings in msvc librw build (diff)
downloadre3-e6d86bfab509a59119a5f8156cc3b600a47bb3e8.tar
re3-e6d86bfab509a59119a5f8156cc3b600a47bb3e8.tar.gz
re3-e6d86bfab509a59119a5f8156cc3b600a47bb3e8.tar.bz2
re3-e6d86bfab509a59119a5f8156cc3b600a47bb3e8.tar.lz
re3-e6d86bfab509a59119a5f8156cc3b600a47bb3e8.tar.xz
re3-e6d86bfab509a59119a5f8156cc3b600a47bb3e8.tar.zst
re3-e6d86bfab509a59119a5f8156cc3b600a47bb3e8.zip
Diffstat (limited to '')
-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