• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

This is a fork of Zandronum used on servers hosted by The Sentinels Playground (TSPG).


Commit MetaInfo

Revisão235463e59735f5fdaa12988ced55e7be8c4297f7 (tree)
Hora2013-07-19 05:50:53
AutorBenjamin Berkels <torr.samaho@quan...>
CommiterBenjamin Berkels

Mensagem de Log

Fixed: The messages sent with ay_team were visible to players of the other teams. [Dusk, Torr Samaho]

Mudança Sumário

Diff

diff -r b79c355dee58 -r 235463e59735 docs/zandronum-history.txt
--- a/docs/zandronum-history.txt Thu Jul 18 22:50:04 2013 +0200
+++ b/docs/zandronum-history.txt Thu Jul 18 22:50:53 2013 +0200
@@ -12,6 +12,11 @@
1212 ===============================================================================================================
1313
1414
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+
1520 1.1
1621 ---
1722
diff -r b79c355dee58 -r 235463e59735 src/sv_commands.cpp
--- a/src/sv_commands.cpp Thu Jul 18 22:50:04 2013 +0200
+++ b/src/sv_commands.cpp Thu Jul 18 22:50:53 2013 +0200
@@ -1682,7 +1682,7 @@
16821682 continue;
16831683
16841684 // 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 ) ) )
16861686 continue;
16871687 }
16881688 // Not in a team mode.