From: MirceaKitsune Date: Wed, 16 Nov 2011 01:03:23 +0000 (+0200) Subject: Don't offset the FOV based on health when we're an observer X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8c00456babd258e44afe9f1e0512b8ae6260fb7e;p=voretournament%2Fvoretournament.git Don't offset the FOV based on health when we're an observer --- diff --git a/data/qcsrc/client/View.qc b/data/qcsrc/client/View.qc index 08f1d363..2635eaca 100644 --- a/data/qcsrc/client/View.qc +++ b/data/qcsrc/client/View.qc @@ -420,7 +420,7 @@ void CSQC_UpdateView(float w, float h) if(cvar("cl_healthsize_fov") && frametime) { apply_fov = cvar("menu_fov"); - if(g_healthsize_center) + if(g_healthsize_center && spectatee_status >= 0) apply_fov += (g_healthsize_center - bound(g_healthsize_min, getstati(STAT_HEALTH), g_healthsize_max)) * cvar("cl_healthsize_fov"); if(cvar("gov") != apply_fov) cvar_set("fov", ftos(apply_fov));