mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-27 03:24:15 +01:00
Peds: Remove redundant lines
This commit is contained in:
parent
fe5d0c9cdf
commit
b67ed1988f
@ -6618,7 +6618,6 @@ CPed::SetWaitState(eWaitState state, void *time)
|
|||||||
m_nWaitTimer = CTimer::GetTimeInMilliseconds() + 5000;
|
m_nWaitTimer = CTimer::GetTimeInMilliseconds() + 5000;
|
||||||
animAssoc = CAnimManager::BlendAnimation(GetClump(), ASSOCGRP_STD, ANIM_TURN_180, 4.0f);
|
animAssoc = CAnimManager::BlendAnimation(GetClump(), ASSOCGRP_STD, ANIM_TURN_180, 4.0f);
|
||||||
animAssoc->SetFinishCallback(FinishedWaitCB, this);
|
animAssoc->SetFinishCallback(FinishedWaitCB, this);
|
||||||
animAssoc->SetDeleteCallback(RestoreHeadingRateCB, this);
|
|
||||||
break;
|
break;
|
||||||
case WAITSTATE_SURPRISE:
|
case WAITSTATE_SURPRISE:
|
||||||
m_headingRate = 0.0f;
|
m_headingRate = 0.0f;
|
||||||
@ -8545,7 +8544,6 @@ CPed::Wait(void)
|
|||||||
case WAITSTATE_TURN180:
|
case WAITSTATE_TURN180:
|
||||||
if (CTimer::GetTimeInMilliseconds() > m_nWaitTimer) {
|
if (CTimer::GetTimeInMilliseconds() > m_nWaitTimer) {
|
||||||
ClearWaitState();
|
ClearWaitState();
|
||||||
SetMoveState(PEDMOVE_WALK);
|
|
||||||
m_fRotationCur = m_fRotationCur + PI;
|
m_fRotationCur = m_fRotationCur + PI;
|
||||||
if (m_nPedState == PED_INVESTIGATE)
|
if (m_nPedState == PED_INVESTIGATE)
|
||||||
ClearInvestigateEvent();
|
ClearInvestigateEvent();
|
||||||
|
Loading…
Reference in New Issue
Block a user