mirror of
https://github.com/edubart/otclient.git
synced 2025-11-03 04:06:23 +01:00
Fix to protocolgame
This commit is contained in:
@@ -137,14 +137,7 @@ void Protocol::internalRecvData(uint8* buffer, uint16 size)
|
||||
g_logger.traceError("failed to decrypt message");
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
int size = m_inputMessage->getU16();
|
||||
if(size != m_inputMessage->getUnreadSize()) {
|
||||
g_logger.traceError("invalid message size");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
onRecv(m_inputMessage);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user