mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +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 "p_mobj.h"
|
||||||
#include "r_fps.h"
|
#include "r_fps.h"
|
||||||
#include "r_main.h"
|
#include "r_main.h"
|
||||||
|
#include "st_stuff.h"
|
||||||
#include "v_video.h"
|
#include "v_video.h"
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
|
|
@ -233,6 +234,13 @@ bool is_player_tracking_target(const player_t *player)
|
||||||
return false;
|
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
|
if (g_hiscore < 1) // SOMEONE should be scoring
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue