1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

tinkering around

This commit is contained in:
Perttu Ahola 2010-12-14 13:14:43 +02:00
parent be2c7dfb97
commit f501cfd799
12 changed files with 80 additions and 86 deletions

View file

@ -118,9 +118,6 @@ FastFace * MapBlock::makeFastFace(u16 tile, u8 light, v3f p,
u8 alpha = 255;
//if(material == CONTENT_WATER || material == CONTENT_OCEAN)
//TODO: Umm?
//if(tile == CONTENT_WATER || tile == CONTENT_OCEAN)
if(tile == TILE_WATER)
{
alpha = 128;
@ -139,7 +136,7 @@ FastFace * MapBlock::makeFastFace(u16 tile, u8 light, v3f p,
f->tile = tile;
//DEBUG
//f->tile = TILE_GRASS;
//f->tile = TILE_STONE;
return f;
}