1
0

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:
madmaxoft@gmail.com
2012-12-27 07:11:37 +00:00
parent ffcfa7c89b
commit 025cdfb201
3 changed files with 146 additions and 15 deletions

View File

@@ -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);
}