From 09cbf2802a64f88fc5fa59b0d12eca1799132117 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 29 Jun 2016 15:19:35 +1000 Subject: [PATCH] Don't set it on observers --- qcsrc/server/cl_client.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc index 20ce6cd86..c7d13eea3 100644 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@ -200,7 +200,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, this)); + setorigin(this, spot.origin + STAT(PL_VIEW_OFS, NULL)); this.prevorigin = this.origin; if (IS_REAL_CLIENT(this)) { @@ -217,7 +217,7 @@ void PutObserverInServer(entity this) FixPlayermodel(this); } setmodel(this, MDL_Null); - setsize(this, STAT(PL_CROUCH_MIN, this), STAT(PL_CROUCH_MAX, this)); + setsize(this, STAT(PL_CROUCH_MIN, NULL), STAT(PL_CROUCH_MAX, NULL)); this.view_ofs = '0 0 0'; } -- 2.39.2