summaryrefslogtreecommitdiff
path: root/src/content_cso.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/content_cso.cpp')
-rw-r--r--src/content_cso.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content_cso.cpp b/src/content_cso.cpp
index c337472ff..0790024fc 100644
--- a/src/content_cso.cpp
+++ b/src/content_cso.cpp
@@ -50,7 +50,7 @@ public:
m_spritenode = smgr->addBillboardSceneNode(
NULL, v2f(1,1), pos, -1);
m_spritenode->setMaterialTexture(0,
- env->getGameDef()->tsrc()->getTexture("smoke_puff.png"));
+ env->getGameDef()->tsrc()->getTextureForMesh("smoke_puff.png"));
m_spritenode->setMaterialFlag(video::EMF_LIGHTING, false);
m_spritenode->setMaterialFlag(video::EMF_BILINEAR_FILTER, false);
//m_spritenode->setMaterialType(video::EMT_TRANSPARENT_ALPHA_CHANNEL_REF);