From: Mario Date: Sat, 9 Jan 2016 13:53:52 +0000 (+1000) Subject: Probable fix for the annoying player bending issue X-Git-Tag: xonotic-v0.8.2~1253 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9812a5883c82ff33cf4b889bdf6a094224c0d660;p=xonotic%2Fxonotic-data.pk3dir.git Probable fix for the annoying player bending issue --- diff --git a/qcsrc/client/csqcmodel_hooks.qc b/qcsrc/client/csqcmodel_hooks.qc index 4a04eb5e0..b9ceb3893 100644 --- a/qcsrc/client/csqcmodel_hooks.qc +++ b/qcsrc/client/csqcmodel_hooks.qc @@ -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)