[raknet] Match BitStream::ReadVector(...)

This commit is contained in:
RD42 2024-10-06 20:44:34 +08:00
parent 6775bae89b
commit 3828fa9c01

View File

@ -1333,7 +1333,8 @@ namespace RakNet
//unsigned short sx,sy,sz; //unsigned short sx,sy,sz;
if (!Read(magnitude)) if (!Read(magnitude))
return false; return false;
if (magnitude!=0.0) //if (magnitude!=0.0f)
if (magnitude>0.00001f)
{ {
// Read(sx); // Read(sx);
// Read(sy); // Read(sy);