]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Revert player size tweak
authorMario <mario@smbclan.net>
Wed, 29 Jun 2016 21:35:11 +0000 (07:35 +1000)
committerMario <mario@smbclan.net>
Wed, 29 Jun 2016 21:35:11 +0000 (07:35 +1000)
qcsrc/server/cl_client.qc

index c7d13eea3bb84a5bdd53ba0e9a62fc94a3550c2b..f23cb8b5c1ee4b068012e228fa671d807f39ad20 100644 (file)
@@ -579,8 +579,8 @@ void PutClientInServer(entity this)
                this.drawonlytoclient = NULL;
 
                this.crouch = false;
-               this.view_ofs = STAT(PL_VIEW_OFS, this);
-               setsize(this, STAT(PL_MIN, this), STAT(PL_MAX, this));
+               this.view_ofs = STAT(PL_VIEW_OFS, NULL);
+               setsize(this, STAT(PL_MIN, NULL), STAT(PL_MAX, NULL));
                this.spawnorigin = spot.origin;
                setorigin(this, spot.origin + '0 0 1' * (1 - this.mins.z - 24));
                // don't reset back to last position, even if new position is stuck in solid