]> git.localhorst.tv Git - blank.git/blobdiff - src/net/Packet.hpp
fix EntityUpdate packet length
[blank.git] / src / net / Packet.hpp
index 09db0dfd1b0ceb4c69d23eae752d58af8f55a10d..e32621c451ae31c89655e45920ff43ea96d3b317 100644 (file)
@@ -137,7 +137,7 @@ struct Packet {
 
                static constexpr std::uint32_t MAX_ENTITIES = 7;
                static constexpr std::size_t GetSize(std::uint32_t num) noexcept {
-                       return 4 + (num * 64);
+                       return 4 + (num * 68);
                }
 
                void WriteEntityCount(std::uint32_t) noexcept;