aboutsummaryrefslogtreecommitdiff
path: root/src/content_cao.cpp
diff options
context:
space:
mode:
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;
}
}