summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.h
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2017-08-24 13:26:23 +0200
committerLukas Pioch <lukas@zgow.de>2017-08-24 14:36:29 +0200
commitb55e5f5ad142404a5e376bb65f963acf1a4f8ff3 (patch)
tree2bdba95efede489ed35d24ff434ec11d6a5c1980 /src/Mobs/Monster.h
parentUse target_compile_options instead of variables to add -fomit-frame-pointer to mbedtls (diff)
downloadcuberite-b55e5f5ad142404a5e376bb65f963acf1a4f8ff3.tar
cuberite-b55e5f5ad142404a5e376bb65f963acf1a4f8ff3.tar.gz
cuberite-b55e5f5ad142404a5e376bb65f963acf1a4f8ff3.tar.bz2
cuberite-b55e5f5ad142404a5e376bb65f963acf1a4f8ff3.tar.lz
cuberite-b55e5f5ad142404a5e376bb65f963acf1a4f8ff3.tar.xz
cuberite-b55e5f5ad142404a5e376bb65f963acf1a4f8ff3.tar.zst
cuberite-b55e5f5ad142404a5e376bb65f963acf1a4f8ff3.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Monster.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h
index d98706f8b..1f6bd6011 100644
--- a/src/Mobs/Monster.h
+++ b/src/Mobs/Monster.h
@@ -84,7 +84,7 @@ public:
bool IsLeashed() const { return (m_LeashedTo != nullptr); }
/** Leash the monster to an entity. */
- void LeashTo(cEntity * a_Entity, bool a_ShouldBroadcast = true);
+ void LeashTo(cEntity & a_Entity, bool a_ShouldBroadcast = true);
/** Unleash the monster. Overload for the Unleash(bool, bool) function for plugins */
void Unleash(bool a_ShouldDropLeashPickup);