diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-01-29 00:53:30 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-01-29 00:53:30 +0200 |
commit | a4179abb1b090b0b95ed4876cddc9975040d81b1 (patch) | |
tree | 161d36bca1bc422c7d1bfe61a2b66f8e2802bf4a | |
parent | 80acdab93bde1f5b543e3655d1a6885938dcc810 (diff) | |
download | minetest-a4179abb1b090b0b95ed4876cddc9975040d81b1.tar.gz minetest-a4179abb1b090b0b95ed4876cddc9975040d81b1.tar.bz2 minetest-a4179abb1b090b0b95ed4876cddc9975040d81b1.zip |
Fixed MBOItem inventory images
-rw-r--r-- | src/inventory.cpp | 4 |
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; } |