summaryrefslogtreecommitdiff
path: root/src/floor_item.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/floor_item.h')
-rw-r--r--src/floor_item.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/floor_item.h b/src/floor_item.h
index 7ca0f5a3..0e269c77 100644
--- a/src/floor_item.h
+++ b/src/floor_item.h
@@ -64,6 +64,12 @@ class FloorItem : public Sprite
int getItemId() const;
/**
+ * Returns the item object. Useful for adding an item link for the floor
+ * item to chat.
+ */
+ Item* getItem() const;
+
+ /**
* Returns the x coordinate.
*/
int getX() const { return mX; }