diff options
Diffstat (limited to 'src/World/Block.hpp')
-rw-r--r-- | src/World/Block.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/World/Block.hpp b/src/World/Block.hpp index 2bdbaa5..3613cac 100644 --- a/src/World/Block.hpp +++ b/src/World/Block.hpp @@ -41,9 +41,11 @@ struct Block { uint8_t blockLight; uint8_t skyLight; - Block() : id(0), data(0), height(0), blockLight(0), skyLight(0) {} + uint8_t biome; - uint32_t getColor(uint8_t biome) const; + Block() : id(0), data(0), height(0), blockLight(0), skyLight(0), biome(0) {} + + uint32_t getColor() const; }; } |