mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
Work around E3M2 pillar collision issue
Disable SV_TryUnstick when using pr_checkextension. Fixes https://github.com/Shpoike/Quakespasm/issues/50.
This commit is contained in:
parent
e9822ae936
commit
0c240a24b2
1 changed files with 3 additions and 2 deletions
|
@ -1144,8 +1144,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 )
|
||||
|
|
Loading…
Reference in a new issue