summaryrefslogtreecommitdiff
path: root/src/flooritem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/flooritem.cpp')
-rw-r--r--src/flooritem.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/flooritem.cpp b/src/flooritem.cpp
index 30458b579..150e020a9 100644
--- a/src/flooritem.cpp
+++ b/src/flooritem.cpp
@@ -63,8 +63,12 @@ FloorItem::FloorItem(int id,
// these translations aren't necessary anymore. The sprites know
// best where their base point should be.
mPos.x = static_cast<float>(x * map->getTileWidth() + 16);
+#ifdef MANASERV_SUPPORT
mPos.y = static_cast<float>(y * map->getTileHeight() +
((Net::getNetworkType() == ServerInfo::MANASERV) ? 15 : 32));
+#else
+ mPos.y = static_cast<float>(y * map->getTileHeight() + 32);
+#endif
}
else
{