diff options
Diffstat (limited to 'src/connection.h')
-rw-r--r-- | src/connection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connection.h b/src/connection.h index dc61394fa..6d26e2e35 100644 --- a/src/connection.h +++ b/src/connection.h @@ -551,7 +551,7 @@ public: void Connect(Address address); bool Connected(); void Disconnect(); - u32 Receive(u16 &peer_id, u8 *data, u32 datasize); + u32 Receive(u16 &peer_id, SharedBuffer<u8> &data); void SendToAll(u8 channelnum, SharedBuffer<u8> data, bool reliable); void Send(u16 peer_id, u8 channelnum, SharedBuffer<u8> data, bool reliable); void RunTimeouts(float dtime); // dummy |