X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Flib%2Fcsqcmodel%2Fcl_model.qc;h=b443ed3288fc31c4f4a0dc37df9708233ecb7f20;hb=b3126a1e33c04b2e318afc6f745d96a41d1f0623;hp=12be0dbaa479c099cc2df23c376a21a1924b43c7;hpb=62d736d8c3a51baf5fa3a4265e39a2b773704a91;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/lib/csqcmodel/cl_model.qc b/qcsrc/lib/csqcmodel/cl_model.qc index 12be0dbaa..b443ed328 100644 --- a/qcsrc/lib/csqcmodel/cl_model.qc +++ b/qcsrc/lib/csqcmodel/cl_model.qc @@ -239,7 +239,6 @@ NET_HANDLE(ENT_CLIENT_MODEL, bool isnew) this.isplayermodel = BITSET(this.isplayermodel, ISPLAYER_LOCAL, islocalplayer); this.isplayermodel = BITSET(this.isplayermodel, ISPLAYER_PLAYER, (psf & ISPLAYER_PLAYER)); - this.classname = "csqcmodel"; this.iflags |= IFLAG_ORIGIN; // interpolate origin too this.iflags |= IFLAG_ANGLES; // interpolate angles too this.iflags |= IFLAG_VELOCITY | IFLAG_AUTOVELOCITY; // let's calculate velocity automatically @@ -277,7 +276,10 @@ NET_HANDLE(ENT_CLIENT_MODEL, bool isnew) this.csqcmodel_teleported = 1; } - if(sf & BIT(14)) + if(sf & BIT(3)) + this.alpha = this.m_alpha; + + if(sf & BIT(11)) viewloc_SetTags(this); CSQCModel_InterpolateAnimation_Note(this, sf);