summaryrefslogtreecommitdiffstats
path: root/src/peds/PedAI.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-08 17:24:53 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-08 17:24:53 +0100
commitc6c55d0130a9f4d43447a63e48f5fc9b76e764e8 (patch)
tree1d9712e7c9a1f92e4755ee0d3c1bddd834669178 /src/peds/PedAI.cpp
parentwtf (diff)
downloadre3-c6c55d0130a9f4d43447a63e48f5fc9b76e764e8.tar
re3-c6c55d0130a9f4d43447a63e48f5fc9b76e764e8.tar.gz
re3-c6c55d0130a9f4d43447a63e48f5fc9b76e764e8.tar.bz2
re3-c6c55d0130a9f4d43447a63e48f5fc9b76e764e8.tar.lz
re3-c6c55d0130a9f4d43447a63e48f5fc9b76e764e8.tar.xz
re3-c6c55d0130a9f4d43447a63e48f5fc9b76e764e8.tar.zst
re3-c6c55d0130a9f4d43447a63e48f5fc9b76e764e8.zip
Diffstat (limited to 'src/peds/PedAI.cpp')
-rw-r--r--src/peds/PedAI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peds/PedAI.cpp b/src/peds/PedAI.cpp
index 16e6c8e2..de82524d 100644
--- a/src/peds/PedAI.cpp
+++ b/src/peds/PedAI.cpp
@@ -4914,8 +4914,8 @@ CPed::SetAnimOffsetForEnterOrExitVehicle(void)
vecPedVanRearDoorAnimOffset = lastFrame->translation;
}
}
- // I think this is leftover and ANIM_TRAIN_GETOUT
- enterAssoc = CAnimManager::GetAnimAssociation(ASSOCGRP_STD, ANIM_IDLE_STANCE3)->hierarchy;
+
+ enterAssoc = CAnimManager::GetAnimAssociation(ASSOCGRP_STD, ANIM_TRAIN_GETOUT)->hierarchy;
seq = enterAssoc->sequences;
CAnimManager::UncompressAnimation(enterAssoc);
if (seq->numFrames > 0) {