Always HUD track players in Duel mode

This commit is contained in:
James R 2023-02-22 00:57:31 -08:00
parent e6da831e36
commit ec8e81ddb6

View file

@ -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;