From 3f5bad938a3fcb601ad41924a4707476b8b87241 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 21 Dec 2010 18:08:24 +0200 Subject: organizing stuff. --- src/inventory.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/inventory.cpp') 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") -- cgit v1.2.3