ProtoProxy: Fixed 1.4.6 compatibility with vehicles, logging for entity metadata.
Also removed logging to console, it was slowing the program too much. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1108 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -316,6 +316,11 @@ bool cByteBuffer::ReadBEUTF16String16(AString & a_Value)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (Length < 0)
|
||||
{
|
||||
ASSERT(!"Negative string length? Are you sure?");
|
||||
return true;
|
||||
}
|
||||
return ReadUTF16String(a_Value, Length);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user