Make CONTENT_IGNORE to not block the view when occlusion culling

master
Perttu Ahola 2011-11-03 20:45:44 +02:00
parent a2af490b7b
commit e9fd3def90
1 changed files with 3 additions and 0 deletions

View File

@ -164,6 +164,9 @@ void init_mapnode()
f->dug_item = std::string("MaterialItem2 ")+itos(i)+" 1";
}
// Make CONTENT_IGNORE to not block the view when occlusion culling
content_features(CONTENT_IGNORE).solidness = 0;
/*
Initialize mapnode content
*/