diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-24 14:53:57 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-24 14:53:57 +0200 |
commit | 6219d4af217e367336f6a4f7d0a85921c823c161 (patch) | |
tree | 1e45576ca1b349456a23b764c80f43d11a778436 /src/Mobs/Monster.h | |
parent | whitespace cleanup (diff) | |
parent | Use ref instead of pointer (diff) | |
download | cuberite-6219d4af217e367336f6a4f7d0a85921c823c161.tar cuberite-6219d4af217e367336f6a4f7d0a85921c823c161.tar.gz cuberite-6219d4af217e367336f6a4f7d0a85921c823c161.tar.bz2 cuberite-6219d4af217e367336f6a4f7d0a85921c823c161.tar.lz cuberite-6219d4af217e367336f6a4f7d0a85921c823c161.tar.xz cuberite-6219d4af217e367336f6a4f7d0a85921c823c161.tar.zst cuberite-6219d4af217e367336f6a4f7d0a85921c823c161.zip |
Diffstat (limited to 'src/Mobs/Monster.h')
-rw-r--r-- | src/Mobs/Monster.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h index 32091d6f9..44497723c 100644 --- a/src/Mobs/Monster.h +++ b/src/Mobs/Monster.h @@ -89,7 +89,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); |