mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix TARGET visibility on players holding emeralds
This commit is contained in:
parent
c781780ff8
commit
b04433bc7b
1 changed files with 6 additions and 0 deletions
|
|
@ -338,6 +338,12 @@ bool is_player_tracking_target(player_t *player = stplyr)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// WANTED player sees TARGETs on players holding emeralds
|
||||||
|
if (player->emeralds != 0 && K_IsPlayerWanted(stplyr))
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
return K_IsPlayerWanted(player);
|
return K_IsPlayerWanted(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue