summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-25 15:42:26 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-25 15:42:26 +0100
commit314fc3cdac702a44a257ada5fab52f0a7d37ffcd (patch)
treeb8fe855a3cd86841b16fba630dc7748d59a505fa /src/World.h
parentAll mobs now drown (fixes #54) (diff)
downloadcuberite-314fc3cdac702a44a257ada5fab52f0a7d37ffcd.tar
cuberite-314fc3cdac702a44a257ada5fab52f0a7d37ffcd.tar.gz
cuberite-314fc3cdac702a44a257ada5fab52f0a7d37ffcd.tar.bz2
cuberite-314fc3cdac702a44a257ada5fab52f0a7d37ffcd.tar.lz
cuberite-314fc3cdac702a44a257ada5fab52f0a7d37ffcd.tar.xz
cuberite-314fc3cdac702a44a257ada5fab52f0a7d37ffcd.tar.zst
cuberite-314fc3cdac702a44a257ada5fab52f0a7d37ffcd.zip
Diffstat (limited to 'src/World.h')
-rw-r--r--src/World.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.h b/src/World.h
index 61c7604df..933e3ba6f 100644
--- a/src/World.h
+++ b/src/World.h
@@ -239,7 +239,7 @@ public:
bool FindAndDoWithPlayer(const AString & a_PlayerNameHint, cPlayerListCallback & a_Callback); // >> EXPORTED IN MANUALBINDINGS <<
// TODO: This interface is dangerous - rewrite to DoWithClosestPlayer(pos, sight, action)
- cPlayer * FindClosestPlayer(const Vector3f & a_Pos, float a_SightLimit);
+ cPlayer * FindClosestPlayer(const Vector3f & a_Pos, float a_SightLimit, bool a_CheckLineOfSight = true);
void SendPlayerList(cPlayer * a_DestPlayer); // Sends playerlist to the player