]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/csqcmodel/cl_model.qc
Merge branch 'master' into Mario/no_engine_physics
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / csqcmodel / cl_model.qc
index ccf6751171f82522181d75e529d103ac5b848847..b443ed3288fc31c4f4a0dc37df9708233ecb7f20 100644 (file)
@@ -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
@@ -280,7 +279,7 @@ NET_HANDLE(ENT_CLIENT_MODEL, bool isnew)
        if(sf & BIT(3))
                this.alpha = this.m_alpha;
 
-       if(sf & BIT(14))
+       if(sf & BIT(11))
                viewloc_SetTags(this);
 
        CSQCModel_InterpolateAnimation_Note(this, sf);