]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Intermission chase cam (player goes into 3rd person mode at after match end)
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 26 Mar 2011 16:13:00 +0000 (18:13 +0200)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 26 Mar 2011 16:13:00 +0000 (18:13 +0200)
qcsrc/client/View.qc

index d28858ed9b41664470eb39187d444ca9983c6953..c2097524ea1dc202e8aff6345fa8e921e4a0321b 100644 (file)
@@ -794,9 +794,9 @@ void CSQC_UpdateView(float w, float h)
                        drawpic(splash_pos, "gfx/blood", splash_size, stov(autocvar_hud_damage_color), bound(0, myhealth_flash_temp, 1) * autocvar_hud_damage, DRAWFLAG_NORMAL);
        }
 
-       if(spectatee_status >= 0 && !intermission)
+       if(spectatee_status >= 0)
        {
-               if(getstati(STAT_HEALTH) <= 0)
+               if((getstati(STAT_HEALTH) <= 0 && !intermission) || (intermission))
                {
                        if(!cvar("chase_active"))
                                cvar_set("chase_active", "1");