From 9b1b57a52390ecc98c27b2f923052511c387ba3d Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Wed, 2 Feb 2011 18:46:14 +0200 Subject: some tweaking --- src/mapnode.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mapnode.cpp') diff --git a/src/mapnode.cpp b/src/mapnode.cpp index f5ca0ca9e..c5b252d8e 100644 --- a/src/mapnode.cpp +++ b/src/mapnode.cpp @@ -140,7 +140,8 @@ void init_mapnode(IIrrlichtWrapper *irrlicht) i = CONTENT_WATERSOURCE; f = &g_content_features[i]; - f->setTexture(0, irrlicht->getTextureId("water.png"), WATER_ALPHA); + //f->setTexture(0, irrlicht->getTextureId("water.png"), WATER_ALPHA); + f->setAllTextures(irrlicht->getTextureId("water.png"), WATER_ALPHA); f->setInventoryTexture(irrlicht->getTextureId("water.png")); f->param_type = CPT_LIGHT; f->light_propagates = true; -- cgit v1.2.3