aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/inventory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp
index cbe66edb0..deaecae26 100644
--- a/src/inventory.cpp
+++ b/src/inventory.cpp
@@ -98,11 +98,11 @@ video::ITexture * MapBlockObjectItem::getImage()
{
if(m_inventorystring.substr(0,3) == "Rat")
//return g_device->getVideoDriver()->getTexture(porting::getDataPath("rat.png").c_str());
- return g_irrlicht->getTexture(porting::getDataPath("rat.png").c_str());
+ return g_irrlicht->getTexture("rat.png");
if(m_inventorystring.substr(0,4) == "Sign")
//return g_device->getVideoDriver()->getTexture(porting::getDataPath("sign.png").c_str());
- return g_irrlicht->getTexture(porting::getDataPath("sign.png").c_str());
+ return g_irrlicht->getTexture("sign.png");
return NULL;
}