diff options
Diffstat (limited to 'src/network/networkpacket.cpp')
-rw-r--r-- | src/network/networkpacket.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkpacket.cpp b/src/network/networkpacket.cpp index d9dc51695..c91100945 100644 --- a/src/network/networkpacket.cpp +++ b/src/network/networkpacket.cpp @@ -526,9 +526,9 @@ NetworkPacket& NetworkPacket::operator<<(video::SColor src) return *this; } -Buffer<u8> NetworkPacket::oldForgePacket() +SharedBuffer<u8> NetworkPacket::oldForgePacket() { - Buffer<u8> sb(m_datasize + 2); + SharedBuffer<u8> sb(m_datasize + 2); writeU16(&sb[0], m_command); u8* datas = getU8Ptr(0); |