From 2e8c8903b4b5eb5612857cc846911146831bd4bb Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sun, 14 Aug 2011 18:11:06 +0200 Subject: [PATCH] work around fteqcc fail AGAIN --- qcsrc/client/View.qc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/qcsrc/client/View.qc b/qcsrc/client/View.qc index e6dc73098..391e53167 100644 --- a/qcsrc/client/View.qc +++ b/qcsrc/client/View.qc @@ -132,10 +132,13 @@ vector GetCurrentFov(float fov) if(spectatee_status > 0 || isdemo()) { if(spectatorbutton_zoom) - zoomdir = 0 + !zoomdir; - // do not even THINK about removing this 0 - // _I_ know what I am doing - // fteqcc does not + { + if(zoomdir) + zoomdir = 0; + else + zoomdir = 1; + } + // fteqcc failed twice here already, don't optimize this } if(zoomdir) -- 2.39.2