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/World.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/World.h') diff --git a/src/World.h b/src/World.h index f1f0b307f..3acb4676d 100644 --- a/src/World.h +++ b/src/World.h @@ -482,7 +482,7 @@ public: // tolua_begin bool DigBlock (int a_X, int a_Y, int a_Z); - virtual void SendBlockTo(int a_X, int a_Y, int a_Z, cPlayer * a_Player) override; + virtual void SendBlockTo(int a_X, int a_Y, int a_Z, cPlayer & a_Player) override; /** Set default spawn at the given coordinates. Returns false if the new spawn couldn't be stored in the INI file. */ -- cgit v1.2.3