mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-26 02:54:14 +01:00
Remove redundant part of 'Sanitizer fixes 2'
This commit is contained in:
parent
a8549e86a7
commit
51042e15aa
@ -6121,15 +6121,9 @@ CPed::SetEvasiveStep(CPhysical *reason, uint8 animType)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef FIX_BUGS
|
if (neededTurn <= DEGTORAD(90.0f) || reason->GetModelIndex() == MI_RCBANDIT || vehPressedHorn || animType != 0) {
|
||||||
#define IS_RCBANDIT (reason->IsVehicle() && reason->GetModelIndex() == MI_RCBANDIT)
|
|
||||||
#else
|
|
||||||
#define IS_RCBANDIT (reason->GetModelIndex() == MI_RCBANDIT)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (neededTurn <= DEGTORAD(90.0f) || IS_RCBANDIT || vehPressedHorn || animType != 0) {
|
|
||||||
SetLookFlag(reason, true);
|
SetLookFlag(reason, true);
|
||||||
if ((CGeneral::GetRandomNumber() & 1) && !IS_RCBANDIT && animType == 0) {
|
if ((CGeneral::GetRandomNumber() & 1) && reason->GetModelIndex() != MI_RCBANDIT && animType == 0) {
|
||||||
stepAnim = ANIM_STD_HAILTAXI;
|
stepAnim = ANIM_STD_HAILTAXI;
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
@ -6173,8 +6167,6 @@ CPed::SetEvasiveStep(CPhysical *reason, uint8 animType)
|
|||||||
SetPedState(PED_STEP_AWAY);
|
SetPedState(PED_STEP_AWAY);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#undef IS_RCBANDIT
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user