]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix warning spam possibly on player disconnect
authorRudolf Polzer <divverent@xonotic.org>
Sat, 10 Mar 2012 18:57:11 +0000 (19:57 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Sat, 10 Mar 2012 18:57:11 +0000 (19:57 +0100)
qcsrc/client/csqcmodel_hooks.qc

index c2908766b34273356f67284f2217b89a709c6553..f01a2c0501685cfb5b03479bf8f32435ad36a8cd 100644 (file)
@@ -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;