We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c54a2d commit 8fbed99Copy full SHA for 8fbed99
1 file changed
Server/mods/deathmatch/logic/packets/CPlayerJoinDataPacket.cpp
@@ -24,7 +24,8 @@ bool CPlayerJoinDataPacket::Read(NetBitStreamInterface& BitStream)
24
if (!BitStream.ReadString(m_strPlayerVersion))
25
return false;
26
27
- m_bOptionalUpdateInfoRequired = BitStream.ReadBit();
+ if (!BitStream.ReadBit(m_bOptionalUpdateInfoRequired))
28
+ return false;
29
30
if (BitStream.Read(m_ucGameVersion) && BitStream.ReadStringCharacters(m_strNick, MAX_PLAYER_NICK_LENGTH) &&
31
BitStream.Read(reinterpret_cast<char*>(&m_Password), 16))
0 commit comments