revert physics changes. They ain't right.

This commit is contained in:
ZLau92 2021-08-08 21:57:41 -05:00
parent a30ff24bad
commit 10f42aa2b9

View File

@ -1540,12 +1540,6 @@ CPed::UpdatePosition(void)
velocityChange = velocityChange * (changeMult / speedChange); velocityChange = velocityChange * (changeMult / speedChange);
} }
} }
#ifdef FIX_BUGS
//helps with ped<->vehicle collisions and sprinting on steep grades at high framerates
velocityChange *= CTimer::GetTimeStepFix();
#endif
m_vecMoveSpeed.x += velocityChange.x; m_vecMoveSpeed.x += velocityChange.x;
m_vecMoveSpeed.y += velocityChange.y; m_vecMoveSpeed.y += velocityChange.y;
} }