X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Fviewloc.qc;h=fb510f8564ba50a59f63edaced5b89ed7a157197;hp=f67bbc88796122b20d5d9c0bcf40a2ef10647cde;hb=42e255d014f2c6a1871177ea511f630624cdfb57;hpb=724a41faf2cbfd86d41f3ab59ff8326a831a8326 diff --git a/qcsrc/common/viewloc.qc b/qcsrc/common/viewloc.qc index f67bbc887..fb510f856 100644 --- a/qcsrc/common/viewloc.qc +++ b/qcsrc/common/viewloc.qc @@ -45,9 +45,9 @@ void viewloc_PlayerPhysics(entity this) //if(!PHYS_INPUT_BUTTON_CROUCH(this) && !IS_DUCKED(this)) #ifdef SVQC - //this.BUTTON_CROUCH = (old_movement_x < 0); + //PHYS_INPUT_BUTTON_CROUCH(this) = (old_movement_x < 0); if (old_movement.x < 0) - this.BUTTON_CROUCH = true; + PHYS_INPUT_BUTTON_CROUCH(this) = true; #elif defined(CSQC) if (old_movement.x < 0) {