summaryrefslogtreecommitdiff
path: root/src/inventory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r--src/inventory.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp
index 079be8793..3899c9394 100644
--- a/src/inventory.cpp
+++ b/src/inventory.cpp
@@ -76,7 +76,7 @@ InventoryItem* InventoryItem::deSerialize(std::istream &is)
/*
MapBlockObjectItem
*/
-
+#ifndef SERVER
video::ITexture * MapBlockObjectItem::getImage()
{
if(m_inventorystring.substr(0,3) == "Rat")
@@ -89,6 +89,7 @@ video::ITexture * MapBlockObjectItem::getImage()
return NULL;
}
+#endif
std::string MapBlockObjectItem::getText()
{
if(m_inventorystring.substr(0,3) == "Rat")