summaryrefslogtreecommitdiffstats
path: root/src/peds
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:25:35 +0100
commit95260371cbc01426dd6ab13499886878db3479ba (patch)
treec8a5818e1835e92b32c96bedb90cb5685abc3511 /src/peds
parentAllocator fix (diff)
downloadre3-95260371cbc01426dd6ab13499886878db3479ba.tar
re3-95260371cbc01426dd6ab13499886878db3479ba.tar.gz
re3-95260371cbc01426dd6ab13499886878db3479ba.tar.bz2
re3-95260371cbc01426dd6ab13499886878db3479ba.tar.lz
re3-95260371cbc01426dd6ab13499886878db3479ba.tar.xz
re3-95260371cbc01426dd6ab13499886878db3479ba.tar.zst
re3-95260371cbc01426dd6ab13499886878db3479ba.zip
Diffstat (limited to 'src/peds')
-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) {