X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Fserver%2Fclient.qc;h=0458b07af332d3b9f6b6d2d2c0ffdd3b4741ca7a;hb=969dc49d01d650a812706aba16c765af488605d0;hp=c0d3898377679f67633108c3b672aeb3c3ba4375;hpb=6a4c0ef5a249752bf62b292c8386e24d7d1c3d5b;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/client.qc b/qcsrc/server/client.qc index c0d389837..0458b07af 100644 --- a/qcsrc/server/client.qc +++ b/qcsrc/server/client.qc @@ -349,7 +349,7 @@ void PutObserverInServer(entity this) setthink(this, func_null); this.nextthink = 0; this.deadflag = DEAD_NO; - this.crouch = false; + UNSET_DUCKED(this); STAT(REVIVE_PROGRESS, this) = 0; this.revival_time = 0; this.draggable = drag_undraggable; @@ -678,7 +678,7 @@ void PutPlayerInServer(entity this) this.spawnpoint_targ = NULL; - this.crouch = false; + UNSET_DUCKED(this); this.view_ofs = STAT(PL_VIEW_OFS, this); setsize(this, STAT(PL_MIN, this), STAT(PL_MAX, this)); this.spawnorigin = spot.origin;