From: Mircea Kitsune Date: Sat, 26 Mar 2011 16:13:00 +0000 (+0200) Subject: Intermission chase cam (player goes into 3rd person mode at after match end) X-Git-Tag: xonotic-v0.5.0~268^2^2~45 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3657e31329b340e7a7683f6d57cedfa72934be44;p=xonotic%2Fxonotic-data.pk3dir.git Intermission chase cam (player goes into 3rd person mode at after match end) --- diff --git a/qcsrc/client/View.qc b/qcsrc/client/View.qc index d28858ed9..c2097524e 100644 --- a/qcsrc/client/View.qc +++ b/qcsrc/client/View.qc @@ -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");