From: terencehill Date: Sat, 30 Apr 2016 20:39:19 +0000 (+0200) Subject: Do not apply v_deathtilt when observing and during the intermission X-Git-Tag: xonotic-v0.8.2~885^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=191cd31af778b660a8423995b4b199fe7941d20b;p=xonotic%2Fxonotic-data.pk3dir.git Do not apply v_deathtilt when observing and during the intermission --- diff --git a/qcsrc/lib/csqcmodel/cl_player.qc b/qcsrc/lib/csqcmodel/cl_player.qc index 13fb92749..0b0de7564 100644 --- a/qcsrc/lib/csqcmodel/cl_player.qc +++ b/qcsrc/lib/csqcmodel/cl_player.qc @@ -333,7 +333,7 @@ void CSQCPlayer_SetCamera() if (view.csqcmodel_teleported) refdefflags |= REFDEFFLAG_TELEPORTED; if (input_buttons & BIT(1)) refdefflags |= REFDEFFLAG_JUMPING; // note: these two only work in WIP2, but are harmless in WIP1 - if (STAT(HEALTH) <= 0) refdefflags |= REFDEFFLAG_DEAD; + if (STAT(HEALTH) <= 0 && STAT(HEALTH) != -666 && STAT(HEALTH) != -2342) refdefflags |= REFDEFFLAG_DEAD; if (intermission) refdefflags |= REFDEFFLAG_INTERMISSION; V_CalcRefdef(view, refdefflags); }