summaryrefslogtreecommitdiff
path: root/src/inventory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r--src/inventory.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp
index 5030d67d1..c29bb9470 100644
--- a/src/inventory.cpp
+++ b/src/inventory.cpp
@@ -96,13 +96,17 @@ InventoryItem* InventoryItem::deSerialize(std::istream &is)
#ifndef SERVER
video::ITexture * MapBlockObjectItem::getImage()
{
+ //TODO
+
if(m_inventorystring.substr(0,3) == "Rat")
//return g_device->getVideoDriver()->getTexture(porting::getDataPath("rat.png").c_str());
- return g_irrlicht->getTexture("rat.png");
+ //return g_irrlicht->getTexture("rat.png");
+ return NULL;
if(m_inventorystring.substr(0,4) == "Sign")
//return g_device->getVideoDriver()->getTexture(porting::getDataPath("sign.png").c_str());
- return g_irrlicht->getTexture("sign.png");
+ //return g_irrlicht->getTexture("sign.png");
+ return NULL;
return NULL;
}