This is a fork of Zandronum used on servers hosted by The Sentinels Playground (TSPG).
Revisão | 235463e59735f5fdaa12988ced55e7be8c4297f7 (tree) |
---|---|
Hora | 2013-07-19 05:50:53 |
Autor | Benjamin Berkels <torr.samaho@quan...> |
Commiter | Benjamin Berkels |
Fixed: The messages sent with ay_team were visible to players of the other teams. [Dusk, Torr Samaho]
@@ -12,6 +12,11 @@ | ||
12 | 12 | =============================================================================================================== |
13 | 13 | |
14 | 14 | |
15 | +1.1.1 | |
16 | +----- | |
17 | + | |
18 | +- - Fixed: The messages sent with ay_team were visible to players of the other teams. [Dusk, Torr Samaho] | |
19 | + | |
15 | 20 | 1.1 |
16 | 21 | --- |
17 | 22 |
@@ -1682,7 +1682,7 @@ | ||
1682 | 1682 | continue; |
1683 | 1683 | |
1684 | 1684 | // If the players are not on the same team, don't send the message. |
1685 | - if ( ( players[ulIdx].ulTeam != players[ulPlayer].ulTeam ) && ( PLAYER_IsTrueSpectator ( &players[ulIdx] ) != PLAYER_IsTrueSpectator ( &players[ulPlayer] ) ) ) | |
1685 | + if ( ( players[ulIdx].ulTeam != players[ulPlayer].ulTeam ) && ( ( PLAYER_IsTrueSpectator ( &players[ulIdx] ) != PLAYER_IsTrueSpectator ( &players[ulPlayer] ) ) || ( PLAYER_IsTrueSpectator ( &players[ulIdx] ) == false ) ) ) | |
1686 | 1686 | continue; |
1687 | 1687 | } |
1688 | 1688 | // Not in a team mode. |