diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-02-02 00:31:52 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-02-02 00:31:52 +0100 |
commit | 22b9cfcb8bcf3567e15e2cfa2a6af5544e268973 (patch) | |
tree | c876d498f6810e5725674df8cca3eec6cf9dc73f /src/World/Chunk.cpp | |
parent | 843b3abde6e338d252950438acf9d5bd734921f2 (diff) | |
download | MinedMap-22b9cfcb8bcf3567e15e2cfa2a6af5544e268973.tar MinedMap-22b9cfcb8bcf3567e15e2cfa2a6af5544e268973.zip |
Move ressource files to a separate directory
Diffstat (limited to 'src/World/Chunk.cpp')
-rw-r--r-- | src/World/Chunk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/World/Chunk.cpp b/src/World/Chunk.cpp index 3a1e9a2..64b3988 100644 --- a/src/World/Chunk.cpp +++ b/src/World/Chunk.cpp @@ -25,7 +25,7 @@ #include "Chunk.hpp" -#include "BlockType.hpp" +#include "../Resource/BlockType.hpp" #include <iostream> #include <stdexcept> @@ -152,7 +152,7 @@ Chunk::Blocks Chunk::getTopLayer() const { continue; uint8_t id = getBlockAt(x, y, z); - if (!BLOCK_TYPES[id].opaque) + if (!Resource::BLOCK_TYPES[id].opaque) continue; Block &b = ret.blocks[x][z]; |