From dcd030c6ed41e080846d1d50cf82e1055ae48edd Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Fri, 15 Sep 2017 20:46:56 +0500 Subject: 2017-09-15 --- src/Section.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/Section.hpp') diff --git a/src/Section.hpp b/src/Section.hpp index 7a7a3d0..41bef7b 100644 --- a/src/Section.hpp +++ b/src/Section.hpp @@ -19,9 +19,11 @@ class Section { std::vector palette; Vector worldPosition; - size_t hash; + mutable size_t hash; - void CalculateHash(); + void CalculateHash() const; + + std::map overrideList; public: Section(Vector pos, unsigned char bitsPerBlock, std::vector palette, std::vector blockData, std::vector lightData, std::vector skyData); -- cgit v1.2.3