From: MirceaKitsune Date: Wed, 16 Nov 2011 00:58:00 +0000 (+0200) Subject: Fix a minor thing in my last code X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b0199618a76a90556f30d906235cea16e37f245e;p=voretournament%2Fvoretournament.git Fix a minor thing in my last code --- diff --git a/data/qcsrc/client/View.qc b/data/qcsrc/client/View.qc index b958a4ad..08f1d363 100644 --- a/data/qcsrc/client/View.qc +++ b/data/qcsrc/client/View.qc @@ -417,9 +417,9 @@ void CSQC_UpdateView(float w, float h) } float apply_fov; - apply_fov = cvar("menu_fov"); if(cvar("cl_healthsize_fov") && frametime) { + apply_fov = cvar("menu_fov"); if(g_healthsize_center) apply_fov += (g_healthsize_center - bound(g_healthsize_min, getstati(STAT_HEALTH), g_healthsize_max)) * cvar("cl_healthsize_fov"); if(cvar("gov") != apply_fov)