mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 09:05:19 +02:00
Clean InventoryItem interface a bit
This commit is contained in:
@@ -224,7 +224,7 @@ void ItemCAO::addToScene(scene::ISceneManager *smgr, ITextureSource *tsrc)
|
||||
<<std::endl;
|
||||
if(item)
|
||||
{
|
||||
texture = item->getImage(tsrc);
|
||||
texture = item->getImage();
|
||||
delete item;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user