From 3828fa9c0145afa9b5dd16f9a14310b5ecfa6c8e Mon Sep 17 00:00:00 2001 From: RD42 <42702181+dashr9230@users.noreply.github.com> Date: Sun, 6 Oct 2024 20:44:34 +0800 Subject: [PATCH] [raknet] Match `BitStream::ReadVector(...)` --- raknet/BitStream.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/raknet/BitStream.h b/raknet/BitStream.h index 25b1eec..75ca928 100644 --- a/raknet/BitStream.h +++ b/raknet/BitStream.h @@ -1333,7 +1333,8 @@ namespace RakNet //unsigned short sx,sy,sz; if (!Read(magnitude)) return false; - if (magnitude!=0.0) + //if (magnitude!=0.0f) + if (magnitude>0.00001f) { // Read(sx); // Read(sy);