mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
HUD: draw tally of party member, not whoever may being spectated
This commit is contained in:
parent
331be71735
commit
dfd43014c6
1 changed files with 3 additions and 1 deletions
|
|
@ -34,6 +34,7 @@
|
||||||
#include "s_sound.h"
|
#include "s_sound.h"
|
||||||
#include "st_stuff.h"
|
#include "st_stuff.h"
|
||||||
#include "r_fps.h"
|
#include "r_fps.h"
|
||||||
|
#include "g_party.h"
|
||||||
|
|
||||||
boolean level_tally_t::UseBonuses(void)
|
boolean level_tally_t::UseBonuses(void)
|
||||||
{
|
{
|
||||||
|
|
@ -1382,7 +1383,8 @@ void K_TickPlayerTally(player_t *player)
|
||||||
|
|
||||||
void K_DrawPlayerTally(void)
|
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)
|
boolean K_PlayerTallyActive(player_t *player)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue