From: FruitieX Date: Wed, 13 Oct 2010 00:08:18 +0000 (+0300) Subject: don't freeze the vieworigin/angles in hud_configure mode if spectating someone X-Git-Tag: xonotic-v0.1.0preview~307^2~22^2~4^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7debb5a759751f37ac83123360f303d4bb7e1f10;p=xonotic%2Fxonotic-data.pk3dir.git don't freeze the vieworigin/angles in hud_configure mode if spectating someone --- diff --git a/qcsrc/client/View.qc b/qcsrc/client/View.qc index 2fbb07d4e..f91089844 100644 --- a/qcsrc/client/View.qc +++ b/qcsrc/client/View.qc @@ -382,7 +382,7 @@ void CSQC_UpdateView(float w, float h) input_angles = warpzone_fixview_cl_viewangles; view_angles = warpzone_fixview_angles; - if(cvar("cl_lockview") || autocvar__hud_configure) + if(cvar("cl_lockview") || (autocvar__hud_configure && spectatee_status <= 0)) { pmove_org = freeze_pmove_org; input_angles = view_angles = freeze_input_angles;