]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Don't trigger the helper in many circumstances
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 2 Aug 2011 15:41:57 +0000 (18:41 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 2 Aug 2011 15:41:57 +0000 (18:41 +0300)
data/qcsrc/client/View.qc

index d8ea89ba780871107665b4c680f8a1af8a347ea2..5d91a7ef6e9fe32f5dcbd243ea9e0e4707613fd1 100644 (file)
@@ -301,6 +301,7 @@ void CSQC_UpdateView(float w, float h)
        // helper system\r
        if(cvar("cl_helper"))\r
        if(helper_pause <= time)\r
+       if(!intermission && !respawned && spectatee_status >= 0 && getstati(STAT_HEALTH) > 0 && !getstati(STAT_VORE_EATEN))\r
        {\r
                if(getstati(STAT_HEALTH) <= cvar("cl_helper_health_value"))\r
                {\r