Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
revert physics changes. They ain't right.
  • Loading branch information
ZLau92 committed Aug 9, 2021
1 parent a30ff24 commit 10f42aa2b97583b5c242f674adbaaaff1e6ec1fa

File 1 of 1 in 10f42aa

@@ -1540,12 +1540,6 @@ CPed::UpdatePosition(void)
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.y += velocityChange.y;
}

0 comments on commit 10f42aa

Please sign in to comment.