From: Loic Blot Date: Mon, 30 Mar 2015 17:55:14 +0000 (+0200) Subject: Use Buffer not SharedBuffer in NetworkPacket::oldForgePacket X-Git-Tag: 0.4.13~412 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6a48844eba16fb955ef4992bef539af66c595d0c;p=oweals%2Fminetest.git Use Buffer not SharedBuffer in NetworkPacket::oldForgePacket --- diff --git a/src/network/networkpacket.cpp b/src/network/networkpacket.cpp index cfbca32d3..85d39d91d 100644 --- a/src/network/networkpacket.cpp +++ b/src/network/networkpacket.cpp @@ -512,7 +512,7 @@ NetworkPacket& NetworkPacket::operator<<(video::SColor src) Buffer NetworkPacket::oldForgePacket() { - SharedBuffer sb(m_datasize + 2); + Buffer sb(m_datasize + 2); writeU16(&sb[0], m_command); u8* datas = getU8Ptr(0);