Skip to content
Permalink
Browse files

Use Buffer not SharedBuffer in NetworkPacket::oldForgePacket

  • Loading branch information...
nerzhul committed Mar 30, 2015
1 parent ff924ef commit 6a48844eba16fb955ef4992bef539af66c595d0c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/network/networkpacket.cpp
@@ -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 comments on commit 6a48844

Please sign in to comment.
You can’t perform that action at this time.