1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

some tweaking

This commit is contained in:
Perttu Ahola 2011-02-02 18:46:14 +02:00
parent a75876f248
commit 9b1b57a523
5 changed files with 141 additions and 16 deletions

View file

@ -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;