summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Entities/Entity.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h
index b151f745d..563db7b9e 100644
--- a/src/Entities/Entity.h
+++ b/src/Entities/Entity.h
@@ -656,6 +656,10 @@ protected:
Data: https://minecraft.gamepedia.com/Entity#Motion_of_entities */
float m_AirDrag;
+ /** Last position sent to client via the Relative Move or Teleport packets (not Velocity)
+ Only updated if cEntity::BroadcastMovementUpdate() is called! */
+ Vector3d m_LastSentPosition;
+
Vector3d m_LastPosition;
eEntityType m_EntityType;
@@ -752,10 +756,6 @@ private:
/** Position of the entity's XZ center and Y bottom */
Vector3d m_Position;
- /** Last position sent to client via the Relative Move or Teleport packets (not Velocity)
- Only updated if cEntity::BroadcastMovementUpdate() is called! */
- Vector3d m_LastSentPosition;
-
/** Measured in meter / second */
Vector3d m_WaterSpeed;