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:
parent
a75876f248
commit
9b1b57a523
5 changed files with 141 additions and 16 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue