From: Rudolf Polzer Date: Sun, 14 Aug 2011 16:11:06 +0000 (+0200) Subject: work around fteqcc fail AGAIN X-Git-Tag: xonotic-v0.5.0~148^2~4 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2e8c8903b4b5eb5612857cc846911146831bd4bb;p=xonotic%2Fxonotic-data.pk3dir.git work around fteqcc fail AGAIN --- 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)