]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Probable fix for the annoying player bending issue
authorMario <mario@smbclan.net>
Sat, 9 Jan 2016 13:53:52 +0000 (23:53 +1000)
committerMario <mario@smbclan.net>
Sat, 9 Jan 2016 13:54:39 +0000 (23:54 +1000)
qcsrc/client/csqcmodel_hooks.qc

index 4a04eb5e0fe2342de9d9e9d1ed337db1a4b12d4a..b9ceb3893157ced5bb3889fe50238db152a7dde5 100644 (file)
@@ -406,7 +406,7 @@ void CSQCModel_AutoTagIndex_Apply(entity this)
                // recursive predraw call to fix issues with forcemodels and LOD if bone indexes mismatch
                if(this.tag_entity.classname == "csqcmodel")
                {
-                       CSQCModel_Hook_PreDraw(this.tag_entity, (this.entnum >= 1 && this.entnum <= maxclients));
+                       CSQCModel_Hook_PreDraw(this.tag_entity, (this.tag_entity.entnum >= 1 && this.tag_entity.entnum <= maxclients));
                }
 
                if(this.tag_entity.modelindex != this.tag_entity_lastmodelindex)