From c6c55d0130a9f4d43447a63e48f5fc9b76e764e8 Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Fri, 8 Jan 2021 18:24:53 +0200 Subject: Train anims in enum --- src/peds/PedAI.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/peds/PedAI.cpp') 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) { -- cgit v1.2.3