From: Mario Date: Thu, 8 Oct 2015 12:08:25 +0000 (+1000) Subject: Make an unused function used X-Git-Tag: xonotic-v0.8.2~1845 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=26617d9444c6df12bae60061b32191dd1f2fd7ce;p=xonotic%2Fxonotic-data.pk3dir.git Make an unused function used --- diff --git a/qcsrc/client/csqcmodel_hooks.qc b/qcsrc/client/csqcmodel_hooks.qc index c7e05799d..758411ce8 100644 --- a/qcsrc/client/csqcmodel_hooks.qc +++ b/qcsrc/client/csqcmodel_hooks.qc @@ -401,11 +401,7 @@ void CSQCModel_AutoTagIndex_Apply(void) if(self.tag_entity && wasfreed(self.tag_entity)) self.tag_entity = world; - if(self.viewloc && wasfreed(self.viewloc)) - self.viewloc = world; - - if(self.viewloc.entnum != self.tag_networkviewloc) - self.viewloc = findfloat(world, entnum, self.tag_networkviewloc); + viewloc_SetTags(); MUTATOR_CALLHOOK(TagIndex_Update, self);