]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Fix last commit
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 15 Nov 2011 20:46:55 +0000 (22:46 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 15 Nov 2011 20:46:55 +0000 (22:46 +0200)
data/qcsrc/client/View.qc

index 0b3600e1ad3824cfc203491db2e550303167ca60..bb51586b55ef7a75899dd35d8c7d1e4036e72e72 100644 (file)
@@ -300,7 +300,7 @@ void CSQC_UpdateView(float w, float h)
 \r
        // helper system\r
        if(cvar("cl_helper"))\r
-       if not(getstati(STAT_ARMOR) < g_power && time > power_boot)\r
+       if not(getstati(STAT_ARMOR) < g_power || time <= power_boot)\r
        {\r
                if(intermission || respawned || spectatee_status < 0 || getstati(STAT_HEALTH) <= 0 || getstati(STAT_VORE_EATEN))\r
                {\r
@@ -1159,7 +1159,7 @@ void CSQC_UpdateView(float w, float h)
                localcmd(strcat("bf ", cvar_string("cl_flash_respawn_color"), " ", cvar_string("cl_flash_respawn"), "\n"));\r
 \r
        if not(getstati(STAT_VORE_EATEN)) // crosshair is useless if we're in the stomach\r
-       if not(getstati(STAT_ARMOR) < g_power && time > power_boot)\r
+       if not(getstati(STAT_ARMOR) < g_power || time <= power_boot)\r
        {\r
                // crosshair goes VERY LAST\r
                if(!scoreboard_active && !ons_showmap && !camera_active) {\r