Use Buffer not SharedBuffer in NetworkPacket::oldForgePacket

master
Loic Blot 2015-03-30 19:55:14 +02:00
parent ff924ef0dc
commit 6a48844eba
1 changed files with 1 additions and 1 deletions

View File

@ -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);