update lcemp networking

This commit is contained in:
pieeebot committed 2026-08-14 07:02:50 +03:00
1 parent 125819419f
commit 6853eab85f
51 files changed
+629 -183

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ void GameCommandPacket::read(DataInputStream *dis)
command = (EGameCommand)dis->readInt();
length = dis->readShort();
if (length > 0 && length < Short::MAX_VALUE)
if (length > 0 && length <= Short::MAX_VALUE)
{
if(data.data != NULL)
{