]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Fix healthsize FOV
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 8 Mar 2012 16:37:29 +0000 (18:37 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 8 Mar 2012 16:37:29 +0000 (18:37 +0200)
data/qcsrc/client/View.qc
docs/TODO.txt

index 57e26285f7ca91222db35441e3ef655ee3d7b1f2..22a5fbf8a1b98093898892e8e767806620a309b8 100644 (file)
@@ -417,13 +417,13 @@ void CSQC_UpdateView(float w, float h)
                }\r
        }\r
 \r
-       float apply_fov;\r
-       if(cvar("cl_healthsize_fov") && frametime)\r
+       if(frametime)\r
        {\r
+               float apply_fov;\r
                apply_fov = cvar("menu_fov");\r
-               if(g_healthsize_center && spectatee_status >= 0)\r
+               if(g_healthsize_center >= 0 && cvar("cl_healthsize_fov") && spectatee_status >= 0)\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
+               if(cvar("fov") != apply_fov)\r
                        cvar_set("fov", ftos(apply_fov));\r
        }\r
 \r
index f0cf62e918ca2a56bf527fbea06f8a2da343cbaa..9e0c020c2112c5353ed3271ed968e930477de33f 100644 (file)
 \r
 - 0.8: Make player fatness depend on frags, using a trick I heard about with shaders\r
 \r
-- 0.7 BUG: Disabling g_healthsize gives a different field of view, even at 100 heatlh\r
-\r
 - 0.7: Make sure all effects work for spectators too (such as the macro earthquake effect)\r
 \r
 - 0.7 | 0.8: The stomach gurgle sound duration does not match the pitch properly\r
 \r
-- 0.7: Some maps use cdtrack while others use track names. Fix this.
\ No newline at end of file
+- 0.7: Some maps use cdtrack while others use track names. Fix this.\r
+\r
+- 0.7 BUG: Stomach load won't appear when g_healthsize is off and belly is empty.
\ No newline at end of file