summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.h
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2016-03-30 10:38:45 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2016-03-30 10:42:06 +0200
commit9e796f4e624c575b74518f9b29bd57f193c87336 (patch)
tree5e43853a75044a7acad1ef48bf51b3d86c2a1d72 /src/Entities/Entity.h
parentMerge pull request #3091 from LogicParrot/bed (diff)
downloadcuberite-9e796f4e624c575b74518f9b29bd57f193c87336.tar
cuberite-9e796f4e624c575b74518f9b29bd57f193c87336.tar.gz
cuberite-9e796f4e624c575b74518f9b29bd57f193c87336.tar.bz2
cuberite-9e796f4e624c575b74518f9b29bd57f193c87336.tar.lz
cuberite-9e796f4e624c575b74518f9b29bd57f193c87336.tar.xz
cuberite-9e796f4e624c575b74518f9b29bd57f193c87336.tar.zst
cuberite-9e796f4e624c575b74518f9b29bd57f193c87336.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Entity.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h
index 75c77e593..b00201f3a 100644
--- a/src/Entities/Entity.h
+++ b/src/Entities/Entity.h
@@ -406,10 +406,10 @@ public:
/** Schedules a MoveToWorld call to occur on the next Tick of the entity */
void ScheduleMoveToWorld(cWorld * a_World, Vector3d a_NewPosition, bool a_SetPortalCooldown = false);
- bool MoveToWorld(cWorld * a_World, bool a_ShouldSendRespawn, Vector3d a_NewPosition) { return DoMoveToWorld(a_World, a_ShouldSendRespawn, a_NewPosition); }
+ bool MoveToWorld(cWorld * a_World, bool a_ShouldSendRespawn, Vector3d a_NewPosition);
/** Moves entity to specified world, taking a world pointer */
- bool MoveToWorld(cWorld * a_World, bool a_ShouldSendRespawn = true) { return MoveToWorld(a_World, a_ShouldSendRespawn, GetPosition()); }
+ bool MoveToWorld(cWorld * a_World, bool a_ShouldSendRespawn = true);
/** Moves entity to specified world, taking a world name */
bool MoveToWorld(const AString & a_WorldName, bool a_ShouldSendRespawn = true);