This commit is contained in:
Chris Cowan 2024-07-09 20:15:25 +03:00 committed by GitHub
commit 0911220936
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1152,8 +1152,9 @@ void SV_WalkMove (edict_t *ent)
clip = SV_FlyMove (ent, qcvm->frametime, &steptrace);
// check for stuckness, possibly due to the limited precision of floats
// in the clipping hulls
if (clip)
// in the clipping hulls. Disable when using pr_checkextension to avoid
// https://github.com/Shpoike/Quakespasm/issues/50.
if (clip && !pr_checkextension.value)
{
if ( fabs(oldorg[1] - ent->v.origin[1]) < 0.03125
&& fabs(oldorg[0] - ent->v.origin[0]) < 0.03125 )