File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
GeneralsMD/Code/GameEngine/Source/GameClient/MessageStream
Generals/Code/GameEngine/Source/GameClient/MessageStream Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4672,8 +4672,8 @@ GameMessageDisposition CommandTranslator::translateGameMessage(const GameMessage
46724672 // -----------------------------------------------------------------------------------------
46734673 case GameMessage::MSG_NO_DRAW:
46744674 {
4675- const Bool isZero = TheGlobalData->m_noDraw == 0 ;
4676- TheWritableGlobalData->m_noDraw = isZero ? 0x80000000 : 0 ;
4675+ const Bool isZero = TheGlobalData->m_noDraw == 0u ;
4676+ TheWritableGlobalData->m_noDraw = isZero ? ~ 0u : 0u ;
46774677 disp = DESTROY_MESSAGE;
46784678 break ;
46794679 }
Original file line number Diff line number Diff line change @@ -5088,8 +5088,8 @@ GameMessageDisposition CommandTranslator::translateGameMessage(const GameMessage
50885088 // -----------------------------------------------------------------------------------------
50895089 case GameMessage::MSG_NO_DRAW:
50905090 {
5091- const Bool isZero = TheGlobalData->m_noDraw == 0 ;
5092- TheWritableGlobalData->m_noDraw = isZero ? 0x80000000 : 0 ;
5091+ const Bool isZero = TheGlobalData->m_noDraw == 0u ;
5092+ TheWritableGlobalData->m_noDraw = isZero ? ~ 0u : 0u ;
50935093 disp = DESTROY_MESSAGE;
50945094 break ;
50955095 }
You can’t perform that action at this time.
0 commit comments