aboutsummaryrefslogtreecommitdiff
path: root/src/inventory.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/inventory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inventory.h b/src/inventory.h
index 50f3247c3..cb5b54851 100644
--- a/src/inventory.h
+++ b/src/inventory.h
@@ -84,6 +84,7 @@ public:
{
return new MaterialItem(m_content, m_count);
}
+#ifndef SERVER
video::ITexture * getImage()
{
/*if(m_content == CONTENT_TORCH)
@@ -97,6 +98,7 @@ public:
return g_texturecache.get(g_content_inventory_textures[m_content]);
}
+#endif
std::string getText()
{
std::ostringstream os;