X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fclient.qc;h=d4a3e9febfa359aef00e37995c6b56961d0a8a25;hp=9583118ceacae67335fc8ff8612e17d3b4bd97e5;hb=451e02a2857d8c671f6dcf6a0639ea7c609b3ba9;hpb=b4fbbbce9f643f769b92c35bc3185f31f53d80bc diff --git a/qcsrc/server/client.qc b/qcsrc/server/client.qc index 9583118ce..d4a3e9feb 100644 --- a/qcsrc/server/client.qc +++ b/qcsrc/server/client.qc @@ -236,7 +236,7 @@ void PutObserverInServer(entity this) this.angles_z = 0; this.fixangle = true; // offset it so that the spectator spawns higher off the ground, looks better this way - setorigin(this, spot.origin + STAT(PL_VIEW_OFS, NULL)); + setorigin(this, spot.origin + STAT(PL_VIEW_OFS, this)); this.prevorigin = this.origin; if (IS_REAL_CLIENT(this)) { @@ -253,7 +253,7 @@ void PutObserverInServer(entity this) FixPlayermodel(this); } setmodel(this, MDL_Null); - setsize(this, STAT(PL_CROUCH_MIN, NULL), STAT(PL_CROUCH_MAX, NULL)); + setsize(this, STAT(PL_CROUCH_MIN, this), STAT(PL_CROUCH_MAX, this)); this.view_ofs = '0 0 0'; }