diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-11-12 15:36:41 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-11-12 15:36:41 +0100 |
commit | b67ed1988f1cbb69fea60ad1770ab2bb2eebdfe5 (patch) | |
tree | 8ecbb22b1c30823bd579636df3dfc3b72054bdb0 /src | |
parent | Font: Hud: Use orig. text dimensions, fix right-align calculations (diff) | |
download | re3-b67ed1988f1cbb69fea60ad1770ab2bb2eebdfe5.tar re3-b67ed1988f1cbb69fea60ad1770ab2bb2eebdfe5.tar.gz re3-b67ed1988f1cbb69fea60ad1770ab2bb2eebdfe5.tar.bz2 re3-b67ed1988f1cbb69fea60ad1770ab2bb2eebdfe5.tar.lz re3-b67ed1988f1cbb69fea60ad1770ab2bb2eebdfe5.tar.xz re3-b67ed1988f1cbb69fea60ad1770ab2bb2eebdfe5.tar.zst re3-b67ed1988f1cbb69fea60ad1770ab2bb2eebdfe5.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/peds/Ped.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index 3a04b196..1b6c0a3b 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -6618,7 +6618,6 @@ CPed::SetWaitState(eWaitState state, void *time) m_nWaitTimer = CTimer::GetTimeInMilliseconds() + 5000; animAssoc = CAnimManager::BlendAnimation(GetClump(), ASSOCGRP_STD, ANIM_TURN_180, 4.0f); animAssoc->SetFinishCallback(FinishedWaitCB, this); - animAssoc->SetDeleteCallback(RestoreHeadingRateCB, this); break; case WAITSTATE_SURPRISE: m_headingRate = 0.0f; @@ -8545,7 +8544,6 @@ CPed::Wait(void) case WAITSTATE_TURN180: if (CTimer::GetTimeInMilliseconds() > m_nWaitTimer) { ClearWaitState(); - SetMoveState(PEDMOVE_WALK); m_fRotationCur = m_fRotationCur + PI; if (m_nPedState == PED_INVESTIGATE) ClearInvestigateEvent(); |