From 9812a5883c82ff33cf4b889bdf6a094224c0d660 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 9 Jan 2016 23:53:52 +1000 Subject: [PATCH] Probable fix for the annoying player bending issue --- qcsrc/client/csqcmodel_hooks.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2