From 6a48844eba16fb955ef4992bef539af66c595d0c Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Mon, 30 Mar 2015 19:55:14 +0200 Subject: [PATCH] Use Buffer not SharedBuffer in NetworkPacket::oldForgePacket --- src/network/networkpacket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1