From: Rudolf Polzer Date: Sat, 10 Mar 2012 18:57:11 +0000 (+0100) Subject: fix warning spam possibly on player disconnect X-Git-Tag: xonotic-v0.7.0~365 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f9c49c88b46af642ce2e4f35087420ad431bc6b7;p=xonotic%2Fxonotic-data.pk3dir.git fix warning spam possibly on player disconnect --- diff --git a/qcsrc/client/csqcmodel_hooks.qc b/qcsrc/client/csqcmodel_hooks.qc index c2908766b..f01a2c050 100644 --- a/qcsrc/client/csqcmodel_hooks.qc +++ b/qcsrc/client/csqcmodel_hooks.qc @@ -287,6 +287,7 @@ void CSQCModel_AutoTagIndex_Apply(void) } // recursive predraw call to fix issues with forcemodels and LOD if bone indexes mismatch + if(self.tag_entity) { entity oldself = self; self = self.tag_entity;