aboutsummaryrefslogtreecommitdiff
path: root/src/content_cao.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/content_cao.cpp
parent7a29b14a20b16b97fd0d97d9f305fe0d53c160bf (diff)
downloadminetest-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.cpp2
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;
}
}