mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-25 05:11:35 +00:00
Deliver _ONE messages to correct spectator(s) (#265)
Previously it would only deliver if: (a) you were spectating no one (b) player-0 was getting messages (which you'd then incorrectly receive) Co-authored-by: newby <newby@rakis.net>
This commit is contained in:
parent
7599872f9c
commit
322f01f212
1 changed files with 1 additions and 1 deletions
|
@ -737,7 +737,7 @@ void SV_MulticastProtExt(vec3_t origin, multicast_t to, int dimension_mask, int
|
||||||
{
|
{
|
||||||
if (oneclient != split)
|
if (oneclient != split)
|
||||||
{
|
{
|
||||||
if (andspecs && split->spectator && split->spec_track >= 0 && oneclient == &svs.clients[split->spec_track])
|
if (andspecs && split->spectator && split->spec_track > 0 && oneclient == &svs.clients[split->spec_track - 1])
|
||||||
;
|
;
|
||||||
else
|
else
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue