summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Entities/Player.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h
index b1fef1b68..c72d1eb8d 100644
--- a/src/Entities/Player.h
+++ b/src/Entities/Player.h
@@ -350,7 +350,7 @@ public:
void SendExperience(void);
- /** In UI windows, the item that the player is dragging */
+ /** In UI windows, get the item that the player is dragging */
cItem & GetDraggingItem(void) {return m_DraggingItem; }
// In UI windows, when inventory-painting:
@@ -398,7 +398,9 @@ public:
/** If true the player can fly even when he's not in creative. */
void SetCanFly(bool a_CanFly);
- /** Gets the last position that the player slept in */
+ /** Gets the last position that the player slept in
+ This is initialised to the world spawn point if the player has not slept in a bed as of yet
+ */
Vector3i GetLastBedPos(void) const { return m_LastBedPos; }
/** Sets the player's bed (home) position */