From: MirceaKitsune Date: Tue, 15 Nov 2011 19:57:52 +0000 (+0200) Subject: Hide crosshair and skip helper voice when there's not enough power X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d98e976dfdc4c333cab110559fa0f2377182f97d;p=voretournament%2Fvoretournament.git Hide crosshair and skip helper voice when there's not enough power --- diff --git a/data/qcsrc/client/View.qc b/data/qcsrc/client/View.qc index f82cc299..abe99a14 100644 --- a/data/qcsrc/client/View.qc +++ b/data/qcsrc/client/View.qc @@ -300,6 +300,7 @@ void CSQC_UpdateView(float w, float h) // helper system if(cvar("cl_helper")) + if not(getstati(STAT_ARMOR) < g_power) { if(intermission || respawned || spectatee_status < 0 || getstati(STAT_HEALTH) <= 0 || getstati(STAT_VORE_EATEN)) { @@ -1158,6 +1159,7 @@ void CSQC_UpdateView(float w, float h) localcmd(strcat("bf ", cvar_string("cl_flash_respawn_color"), " ", cvar_string("cl_flash_respawn"), "\n")); if not(getstati(STAT_VORE_EATEN)) // crosshair is useless if we're in the stomach + if not(getstati(STAT_ARMOR) < g_power) { // crosshair goes VERY LAST if(!scoreboard_active && !ons_showmap && !camera_active) {