mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 19:44:54 +02:00
fix possible bug
This commit is contained in:
@@ -52,7 +52,7 @@ public:
|
||||
uint8* getBuffer() { return m_buffer; }
|
||||
uint16 getMessageSize() { return m_messageSize; }
|
||||
void setMessageSize(uint16 messageSize) { m_messageSize = messageSize; }
|
||||
bool eof() { return m_readPos == m_messageSize; }
|
||||
bool eof() { return m_readPos >= m_messageSize; }
|
||||
|
||||
private:
|
||||
bool canRead(int bytes);
|
||||
|
Reference in New Issue
Block a user