cosmetic changes
This commit is contained in:
parent
6dbc0c7dda
commit
4cf6024cdb
@ -1821,7 +1821,7 @@ void
|
|||||||
CPed::PlayFootSteps(void)
|
CPed::PlayFootSteps(void)
|
||||||
{
|
{
|
||||||
if (bDoBloodyFootprints) {
|
if (bDoBloodyFootprints) {
|
||||||
if (m_bloodyFootprintCountOrDeathTime != 0 && m_bloodyFootprintCountOrDeathTime < 300) {
|
if (m_bloodyFootprintCountOrDeathTime > 0 && m_bloodyFootprintCountOrDeathTime < 300) {
|
||||||
m_bloodyFootprintCountOrDeathTime--;
|
m_bloodyFootprintCountOrDeathTime--;
|
||||||
|
|
||||||
if (m_bloodyFootprintCountOrDeathTime == 0)
|
if (m_bloodyFootprintCountOrDeathTime == 0)
|
||||||
@ -9823,7 +9823,7 @@ CPed::ProcessControl(void)
|
|||||||
|| (!bIsStanding && !bWasStanding && m_nPedState == PED_FALL)
|
|| (!bIsStanding && !bWasStanding && m_nPedState == PED_FALL)
|
||||||
#endif
|
#endif
|
||||||
) {
|
) {
|
||||||
if (m_nPedStateTimer <= 1000 && m_nPedStateTimer) {
|
if (m_nPedStateTimer > 0 && m_nPedStateTimer <= 1000) {
|
||||||
forceDir = GetPosition() - m_vecHitLastPos;
|
forceDir = GetPosition() - m_vecHitLastPos;
|
||||||
} else {
|
} else {
|
||||||
m_nPedStateTimer = 0;
|
m_nPedStateTimer = 0;
|
||||||
@ -13712,7 +13712,7 @@ CPed::ProcessObjective(void)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
if (bObjectiveCompleted
|
if (bObjectiveCompleted
|
||||||
|| m_objectiveTimer != 0 && CTimer::GetTimeInMilliseconds() > m_objectiveTimer) {
|
|| m_objectiveTimer > 0 && CTimer::GetTimeInMilliseconds() > m_objectiveTimer) {
|
||||||
RestorePreviousObjective();
|
RestorePreviousObjective();
|
||||||
if (m_objectiveTimer > CTimer::GetTimeInMilliseconds() || !m_objectiveTimer)
|
if (m_objectiveTimer > CTimer::GetTimeInMilliseconds() || !m_objectiveTimer)
|
||||||
m_objectiveTimer = CTimer::GetTimeInMilliseconds() - 1;
|
m_objectiveTimer = CTimer::GetTimeInMilliseconds() - 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user