diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-05-03 09:48:39 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-05-03 09:48:39 +0200 |
commit | b3d4e0fca665502b727f0088a3a20aac1b9ad073 (patch) | |
tree | 89e7bd48177595a5fd69ff411268777444eb351d /src/Entities/Entity.h | |
parent | Fix crash on world travel (#3180) (diff) | |
download | cuberite-b3d4e0fca665502b727f0088a3a20aac1b9ad073.tar cuberite-b3d4e0fca665502b727f0088a3a20aac1b9ad073.tar.gz cuberite-b3d4e0fca665502b727f0088a3a20aac1b9ad073.tar.bz2 cuberite-b3d4e0fca665502b727f0088a3a20aac1b9ad073.tar.lz cuberite-b3d4e0fca665502b727f0088a3a20aac1b9ad073.tar.xz cuberite-b3d4e0fca665502b727f0088a3a20aac1b9ad073.tar.zst cuberite-b3d4e0fca665502b727f0088a3a20aac1b9ad073.zip |
Diffstat (limited to 'src/Entities/Entity.h')
-rw-r--r-- | src/Entities/Entity.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h index b00201f3a..db9be63ad 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}); } - void SetPosition(const Vector3d & a_Position); + virtual 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) |