mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-05 15:19:07 +02:00
Distinguish grass and foliage green in block types
This commit is contained in:
parent
60bff1fb34
commit
4ffa28dd63
6 changed files with 622 additions and 619 deletions
|
@ -45,7 +45,7 @@ Block::Color Block::getColor() const {
|
|||
g *= heightCoef;
|
||||
b *= heightCoef;
|
||||
|
||||
if (type->green) {
|
||||
if (type->grass || type->foliage) {
|
||||
const Resource::Biome &biomeDef = Resource::BIOMES[biome];
|
||||
|
||||
r *= biomeDef.r;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue