From 8eb5672920f8834ffe6edbff62713963b8d2ba3d Mon Sep 17 00:00:00 2001 From: peterbell10 Date: Mon, 31 Jul 2017 20:50:40 +0100 Subject: cWorld::SendBlockTo take player by ref --- src/ChunkMap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ChunkMap.h') diff --git a/src/ChunkMap.h b/src/ChunkMap.h index 130c4b062..79c929402 100644 --- a/src/ChunkMap.h +++ b/src/ChunkMap.h @@ -191,7 +191,7 @@ public: /** Sends the block at the specified coords to the specified player. Uses a blockchange packet to send the block. If the relevant chunk isn't loaded, doesn't do anything. */ - void SendBlockTo(int a_BlockX, int a_BlockY, int a_BlockZ, cPlayer * a_Player); + void SendBlockTo(int a_BlockX, int a_BlockY, int a_BlockZ, cPlayer & a_Player); /** Compares clients of two chunks, calls the callback accordingly */ void CompareChunkClients(int a_ChunkX1, int a_ChunkZ1, int a_ChunkX2, int a_ChunkZ2, cClientDiffCallback & a_Callback); -- cgit v1.2.3