summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2016-06-02 00:46:24 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2016-06-02 00:46:24 +0200
commita5ec2d8ca2b319675091a6b93716ec7e0a688422 (patch)
treeb7ec1016b27ed4c358c47251417983413cef878c /src/Entities/Entity.h
parentLuaState: Inter-plugin calls now support simple tables. (#3220) (diff)
downloadcuberite-a5ec2d8ca2b319675091a6b93716ec7e0a688422.tar
cuberite-a5ec2d8ca2b319675091a6b93716ec7e0a688422.tar.gz
cuberite-a5ec2d8ca2b319675091a6b93716ec7e0a688422.tar.bz2
cuberite-a5ec2d8ca2b319675091a6b93716ec7e0a688422.tar.lz
cuberite-a5ec2d8ca2b319675091a6b93716ec7e0a688422.tar.xz
cuberite-a5ec2d8ca2b319675091a6b93716ec7e0a688422.tar.zst
cuberite-a5ec2d8ca2b319675091a6b93716ec7e0a688422.zip
Diffstat (limited to 'src/Entities/Entity.h')
-rw-r--r--src/Entities/Entity.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h
index db9be63ad..b00201f3a 100644
--- a/src/Entities/Entity.h
+++ b/src/Entities/Entity.h
@@ -215,7 +215,7 @@ public:
void SetPosY (double a_PosY) { SetPosition({m_Position.x, a_PosY, m_Position.z}); }
void SetPosZ (double a_PosZ) { SetPosition({m_Position.x, m_Position.y, a_PosZ}); }
void SetPosition(double a_PosX, double a_PosY, double a_PosZ) { SetPosition({a_PosX, a_PosY, a_PosZ}); }
- virtual void SetPosition(const Vector3d & a_Position);
+ void SetPosition(const Vector3d & a_Position);
void SetYaw (double a_Yaw); // In degrees, normalizes to [-180, +180)
void SetPitch (double a_Pitch); // In degrees, normalizes to [-180, +180)
void SetRoll (double a_Roll); // In degrees, normalizes to [-180, +180)