summaryrefslogtreecommitdiffstats
path: root/src/world/Section.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/world/Section.cpp (renamed from code/Section.cpp)5
1 files changed, 1 insertions, 4 deletions
diff --git a/code/Section.cpp b/src/world/Section.cpp
index 8df5953..f53c987 100644
--- a/code/Section.cpp
+++ b/src/world/Section.cpp
@@ -19,9 +19,6 @@ Section::Section(byte *dataBlocks, size_t dataBlocksLength, byte *dataLight, byt
m_bitsPerBlock = bitsPerBlock;
}
-Section::Section() {
-}
-
Section::~Section() {
delete[] m_dataBlocks;
m_dataBlocksLen = 0;
@@ -32,7 +29,7 @@ Section::~Section() {
m_dataSkyLight = nullptr;
}
-Block &Section::GetBlock(PositionI pos) {
+Block &Section::GetBlock(Vector pos) {
if (m_dataBlocks != nullptr) {
std::mutex parseMutex;
std::unique_lock<std::mutex> parseLocker(parseMutex);