From dfd43014c6f8addbb194b5030dd6e778ecd6872f Mon Sep 17 00:00:00 2001 From: James R Date: Sun, 7 Jan 2024 22:51:19 -0800 Subject: [PATCH] HUD: draw tally of party member, not whoever may being spectated --- src/k_tally.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/k_tally.cpp b/src/k_tally.cpp index 3ab0d0a5c..b18dd857f 100644 --- a/src/k_tally.cpp +++ b/src/k_tally.cpp @@ -34,6 +34,7 @@ #include "s_sound.h" #include "st_stuff.h" #include "r_fps.h" +#include "g_party.h" boolean level_tally_t::UseBonuses(void) { @@ -1382,7 +1383,8 @@ void K_TickPlayerTally(player_t *player) void K_DrawPlayerTally(void) { - stplyr->tally.Draw(); + // Draw the observer player's tally, not whoever they may be spectating + players[G_PartyMember(consoleplayer, R_GetViewNumber())].tally.Draw(); } boolean K_PlayerTallyActive(player_t *player)