]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/physics/player.qc
Some minor tweaks to the QC physics logic
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / physics / player.qc
index 22a16e7d56558b0904c2fcd646a3ce39220fe66f..8f681ce5f9d12b9b7559fd330d8b1a169485add7 100644 (file)
@@ -166,7 +166,7 @@ void PM_ClientMovement_UpdateStatus(entity this)
                        // setanim(this, this.anim_duck, false, true, true); // this anim is BROKEN anyway
                }
        } else if (IS_DUCKED(this)) {
-               tracebox(this.origin, STAT(PL_MIN, this), STAT(PL_MAX, this), this.origin, false, this);
+               tracebox(this.origin, STAT(PL_MIN, this), STAT(PL_MAX, this), this.origin, MOVE_NORMAL, this);
                if (!trace_startsolid) {
                        UNSET_DUCKED(this);
                        this.view_ofs = STAT(PL_VIEW_OFS, this);