]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Fix a minor thing in my last code
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Wed, 16 Nov 2011 00:58:00 +0000 (02:58 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Wed, 16 Nov 2011 00:58:00 +0000 (02:58 +0200)
data/qcsrc/client/View.qc

index b958a4adeb7aab4d1fa383634a4dc81a6e16f914..08f1d363f5c32fc1bafaae8162a6913548233124 100644 (file)
@@ -417,9 +417,9 @@ void CSQC_UpdateView(float w, float h)
        }\r
 \r
        float apply_fov;\r
-       apply_fov = cvar("menu_fov");\r
        if(cvar("cl_healthsize_fov") && frametime)\r
        {\r
+               apply_fov = cvar("menu_fov");\r
                if(g_healthsize_center)\r
                        apply_fov += (g_healthsize_center - bound(g_healthsize_min, getstati(STAT_HEALTH), g_healthsize_max)) * cvar("cl_healthsize_fov");\r
                if(cvar("gov") != apply_fov)\r