]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/physics/movetypes/walk.qc
Remove sv_gameplayfix_unstickplayers 2 as it is no longer necessary
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / physics / movetypes / walk.qc
index da6d4cfc364fb45f87fee5390b128ce8b51cb80b..babb38ca4f7c02d966f460703af352826ce6c56d 100644 (file)
@@ -6,7 +6,7 @@ void _Movetype_Physics_Walk(entity this, float dt)  // SV_WalkMove
        if (dt <= 0)
                return;
 
-       if (GAMEPLAYFIX_UNSTICKPLAYERS(this) == 1)
+       if (GAMEPLAYFIX_UNSTICKPLAYERS(this))
                _Movetype_CheckStuck(this);
 
        bool applygravity = (!_Movetype_CheckWater(this) && this.move_movetype == MOVETYPE_WALK && !(this.flags & FL_WATERJUMP));