diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-16 14:44:01 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:47 +0200 |
commit | f68fa667c8723cc39f113502c53cc5c35eb32ab6 (patch) | |
tree | d1c8a3dd207a45dc2c1ff0f8703a62687d9875aa /src/content_cao.cpp | |
parent | 7a29b14a20b16b97fd0d97d9f305fe0d53c160bf (diff) | |
download | minetest-f68fa667c8723cc39f113502c53cc5c35eb32ab6.tar.gz minetest-f68fa667c8723cc39f113502c53cc5c35eb32ab6.tar.bz2 minetest-f68fa667c8723cc39f113502c53cc5c35eb32ab6.zip |
Clean InventoryItem interface a bit
Diffstat (limited to 'src/content_cao.cpp')
-rw-r--r-- | src/content_cao.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content_cao.cpp b/src/content_cao.cpp index 323836832..ca9e22811 100644 --- a/src/content_cao.cpp +++ b/src/content_cao.cpp @@ -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; } } |