}
//if(!PHYS_INPUT_BUTTON_CROUCH(this) && !IS_DUCKED(this))
+ if(!(this.viewloc.spawnflags & VIEWLOC_FREEMOVE))
+ {
#ifdef SVQC
//PHYS_INPUT_BUTTON_CROUCH(this) = (old_movement_x < 0);
- if (old_movement.x < 0)
+ if (old_movement.x < 0) {
PHYS_INPUT_BUTTON_CROUCH(this) = true;
+ }
#elif defined(CSQC)
- if (old_movement.x < 0)
- {
+ if (old_movement.x < 0) {
input_buttons |= BIT(4);
this.flags |= FL_DUCKED;
}