From f68fa667c8723cc39f113502c53cc5c35eb32ab6 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Wed, 16 Nov 2011 14:44:01 +0200 Subject: Clean InventoryItem interface a bit --- src/guiInventoryMenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/guiInventoryMenu.cpp') 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) { -- cgit v1.2.3