mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Always HUD track players in Duel mode
This commit is contained in:
parent
e6da831e36
commit
ec8e81ddb6
1 changed files with 8 additions and 0 deletions
|
|
@ -8,6 +8,7 @@
|
|||
#include "p_mobj.h"
|
||||
#include "r_fps.h"
|
||||
#include "r_main.h"
|
||||
#include "st_stuff.h"
|
||||
#include "v_video.h"
|
||||
|
||||
namespace
|
||||
|
|
@ -233,6 +234,13 @@ bool is_player_tracking_target(const player_t *player)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (inDuel)
|
||||
{
|
||||
// Always draw targets in 1v1 but don't draw player's
|
||||
// own target on their own viewport.
|
||||
return player != stplyr;
|
||||
}
|
||||
|
||||
if (g_hiscore < 1) // SOMEONE should be scoring
|
||||
{
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue