# HG changeset patch # User Edoardo Prezioso # Date 1588795804 -7200 # Wed May 06 22:10:04 2020 +0200 # Node ID 20e0a1923295494d52c1481ab690e61fe6afd007 # Parent 74a45b2ff28feb9f926209d3225dc6f4e64f82a3 - Fixed regressions when using chasecam on another player (addresses 3785). diff -r 74a45b2ff28f -r 20e0a1923295 src/gl/scene/gl_weapon.cpp --- a/src/gl/scene/gl_weapon.cpp Sun Feb 07 10:23:21 2021 -0500 +++ b/src/gl/scene/gl_weapon.cpp Wed May 06 22:10:04 2020 +0200 @@ -190,7 +190,9 @@ if (!player || !r_drawplayersprites || !camera->player || - (player->cheats & CF_CHASECAM) || + // [EP] similarly to the change in the software renderer, weapon display + // for the chasecam case must be checked only for the console player. + (/*player->*/players[consoleplayer].cheats & CF_CHASECAM) || (r_deathcamera && camera->health <= 0)) return;