X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fcl_client.qc;h=c212691db7598c912f8841085243c918d7e5db7d;hb=c7e9b42f7acdcbb72758b33371b105054ce5400d;hp=a3082d2b7e9f8252189a147383d4f3f75d035ea5;hpb=2e2557d4f7fcbf008ec437fa3dfc98ded3c8f488;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc index a3082d2b7..c212691db 100644 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@ -247,7 +247,7 @@ void PutObserverInServer(entity this) // needed for player sounds this.model = ""; FixPlayermodel(this); - } + } setmodel(this, MDL_Null); setsize(this, STAT(PL_CROUCH_MIN, NULL), STAT(PL_CROUCH_MAX, NULL)); this.view_ofs = '0 0 0'; @@ -496,7 +496,7 @@ void PutClientInServer(entity this) PutObserverInServer(this); } else if (IS_PLAYER(this)) { if (this.vehicle) vehicles_exit(this.vehicle, VHEF_RELEASE); - + PlayerState_attach(this); accuracy_resend(this);