summaryrefslogtreecommitdiff
path: root/src/flooritem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/flooritem.cpp')
-rw-r--r--src/flooritem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flooritem.cpp b/src/flooritem.cpp
index 69284c998..557205c17 100644
--- a/src/flooritem.cpp
+++ b/src/flooritem.cpp
@@ -82,7 +82,7 @@ const ItemInfo &FloorItem::getInfo() const
return ItemDB::get(mItemId);
}
-std::string FloorItem::getName()
+std::string FloorItem::getName() const
{
const ItemInfo &info = ItemDB::get(mItemId);
if (serverVersion > 0)