Notes |
|
(0006687)
|
Dusk
|
2013-07-17 22:37
|
|
fixedddddddddddddddddd
o/ |
|
|
|
Just saying, it was broken starting from changeset db11a4687ab3. |
|
|
(0006695)
|
Torr Samaho
|
2013-07-18 07:04
(edited on: 2013-07-18 07:08) |
|
From what I can tell your patch break may break team chat for spectators if the spectators were on different teams before.
From the top of my head I'd say
( PLAYER_IsTrueSpectator ( &players[ulIdx] ) != PLAYER_IsTrueSpectator ( &players[ulPlayer] )
has to be replaced by
( ( PLAYER_IsTrueSpectator ( &players[ulIdx] ) != PLAYER_IsTrueSpectator ( &players[ulPlayer] ) || PLAYER_IsTrueSpectator ( &players[ulIdx] ) = false )
|
|
|
|
Quote
PLAYER_IsTrueSpectator ( &players[ulIdx] ) = false
I suppose it's '==', not '='. |
|
|
|
Yes, that was a typo, the code wouldn't have compiled as is. Here is a testing binary with my proposed fix. Please confirm that it works and also check that spectator chat still works regardless on which team the spectators may have been before. |
|
|
(0006705)
|
Arco
|
2013-07-18 17:14
|
|
Conformed fixed. Spectators and players alike of different teams cannot see their enemies nor other spectator team chat. |
|