File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
GeneralsMD/Code/GameEngine/Source/GameNetwork
Generals/Code/GameEngine/Source/GameNetwork Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -661,7 +661,7 @@ void ConnectionManager::processChat(NetChatCommandMsg *msg)
661
661
662
662
Bool fromObserver = !player->isPlayerActive ();
663
663
Bool amIObserver = !ThePlayerList->getLocalPlayer ()->isPlayerActive ();
664
- Bool canSeeChat = amIObserver || !fromObserver && !TheGameInfo->getConstSlot (playerID)->isMuted ();
664
+ Bool canSeeChat = ( amIObserver || !fromObserver) && !TheGameInfo->getConstSlot (playerID)->isMuted ();
665
665
666
666
if ( ((1 <<m_localSlot) & msg->getPlayerMask () ) && canSeeChat )
667
667
{
Original file line number Diff line number Diff line change @@ -661,7 +661,7 @@ void ConnectionManager::processChat(NetChatCommandMsg *msg)
661
661
662
662
Bool fromObserver = !player->isPlayerActive ();
663
663
Bool amIObserver = !ThePlayerList->getLocalPlayer ()->isPlayerActive ();
664
- Bool canSeeChat = amIObserver || !fromObserver && !TheGameInfo->getConstSlot (playerID)->isMuted ();
664
+ Bool canSeeChat = ( amIObserver || !fromObserver) && !TheGameInfo->getConstSlot (playerID)->isMuted ();
665
665
666
666
if ( ((1 <<m_localSlot) & msg->getPlayerMask () ) && canSeeChat )
667
667
{
You can’t perform that action at this time.
0 commit comments