From d93c2073896e63aca5a859fe7182ba24dbe84cd3 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sun, 28 May 2017 19:16:05 +0500 Subject: 2017-05-28 --- src/world/Section.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/world/Section.cpp') diff --git a/src/world/Section.cpp b/src/world/Section.cpp index ac34fba..5c42ea5 100644 --- a/src/world/Section.cpp +++ b/src/world/Section.cpp @@ -77,7 +77,7 @@ void Section::Parse() { } for (int i = 0; i < 4096; i++) { unsigned short blockId = m_palette.size() > 0 ? m_palette[blocks[i]] : blocks[i]; - Block block(blockId, light[i]); + Block block(blockId, 0, light[i]); m_blocks.push_back(block); } if ((light.size() + blocks.size()) / 2 != 4096) { -- cgit v1.2.3