From 2a95f802d3f36e401e93fb0ea48a9baacf648b2b Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 14 Oct 2016 08:14:55 +1000 Subject: [PATCH] Update view location earlier, fixes observers stuck in side view --- qcsrc/client/csqcmodel_hooks.qc | 2 -- qcsrc/lib/csqcmodel/cl_model.qc | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/qcsrc/client/csqcmodel_hooks.qc b/qcsrc/client/csqcmodel_hooks.qc index 0643bb09d..104465360 100644 --- a/qcsrc/client/csqcmodel_hooks.qc +++ b/qcsrc/client/csqcmodel_hooks.qc @@ -392,8 +392,6 @@ void CSQCModel_AutoTagIndex_Apply(entity this) if(this.tag_entity && wasfreed(this.tag_entity)) this.tag_entity = NULL; - viewloc_SetTags(this); - MUTATOR_CALLHOOK(TagIndex_Update, this); if(this.tag_networkentity) diff --git a/qcsrc/lib/csqcmodel/cl_model.qc b/qcsrc/lib/csqcmodel/cl_model.qc index 7f55a3c10..e4e1d536a 100644 --- a/qcsrc/lib/csqcmodel/cl_model.qc +++ b/qcsrc/lib/csqcmodel/cl_model.qc @@ -275,6 +275,9 @@ NET_HANDLE(ENT_CLIENT_MODEL, bool isnew) this.csqcmodel_teleported = 1; } + if(sf & BIT(14)) + viewloc_SetTags(this); + CSQCModel_InterpolateAnimation_Note(this, sf); InterpolateOrigin_Note(this); CSQCPlayer_PostUpdate(this); -- 2.39.2