summaryrefslogtreecommitdiff
path: root/src/guiInventoryMenu.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-16 14:44:01 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:47 +0200
commitf68fa667c8723cc39f113502c53cc5c35eb32ab6 (patch)
treed1c8a3dd207a45dc2c1ff0f8703a62687d9875aa /src/guiInventoryMenu.cpp
parent7a29b14a20b16b97fd0d97d9f305fe0d53c160bf (diff)
downloadminetest-f68fa667c8723cc39f113502c53cc5c35eb32ab6.tar.gz
minetest-f68fa667c8723cc39f113502c53cc5c35eb32ab6.tar.bz2
minetest-f68fa667c8723cc39f113502c53cc5c35eb32ab6.zip
Clean InventoryItem interface a bit
Diffstat (limited to 'src/guiInventoryMenu.cpp')
-rw-r--r--src/guiInventoryMenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guiInventoryMenu.cpp b/src/guiInventoryMenu.cpp
index 4ed9c857c..9b73af3e0 100644
--- a/src/guiInventoryMenu.cpp
+++ b/src/guiInventoryMenu.cpp
@@ -39,7 +39,7 @@ void drawInventoryItem(video::IVideoDriver *driver,
return;
video::ITexture *texture = NULL;
- texture = item->getImage(tsrc);
+ texture = item->getImage();
if(texture != NULL)
{