Skip to content
Snippets Groups Projects
Commit 6a48844e authored by Loïc Blot's avatar Loïc Blot
Browse files

Use Buffer not SharedBuffer in NetworkPacket::oldForgePacket

parent ff924ef0
No related branches found
No related tags found
No related merge requests found
......@@ -512,7 +512,7 @@ NetworkPacket& NetworkPacket::operator<<(video::SColor src)
Buffer<u8> NetworkPacket::oldForgePacket()
{
SharedBuffer<u8> sb(m_datasize + 2);
Buffer<u8> sb(m_datasize + 2);
writeU16(&sb[0], m_command);
u8* datas = getU8Ptr(0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment