diff options
author | madmaxoft <github@xoft.cz> | 2014-08-30 22:17:49 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-08-30 22:17:49 +0200 |
commit | 26b8471280b876f624abb07db6616e67c11f5faa (patch) | |
tree | e058274eb79850074b2502a0a39a72c9b37e08fc /src/Chunk.h | |
parent | Updated Core (diff) | |
parent | WSSAnvil: Removed leftover debugging code. (diff) | |
download | cuberite-26b8471280b876f624abb07db6616e67c11f5faa.tar cuberite-26b8471280b876f624abb07db6616e67c11f5faa.tar.gz cuberite-26b8471280b876f624abb07db6616e67c11f5faa.tar.bz2 cuberite-26b8471280b876f624abb07db6616e67c11f5faa.tar.lz cuberite-26b8471280b876f624abb07db6616e67c11f5faa.tar.xz cuberite-26b8471280b876f624abb07db6616e67c11f5faa.tar.zst cuberite-26b8471280b876f624abb07db6616e67c11f5faa.zip |
Diffstat (limited to 'src/Chunk.h')
-rw-r--r-- | src/Chunk.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Chunk.h b/src/Chunk.h index 72a1f6c95..e5de22e3b 100644 --- a/src/Chunk.h +++ b/src/Chunk.h @@ -155,7 +155,7 @@ public: void FastSetBlock(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE a_BlockType, BLOCKTYPE a_BlockMeta, bool a_SendToClients = true); // Doesn't force block updates on neighbors, use for simple changes such as grass growing etc. BLOCKTYPE GetBlock(int a_RelX, int a_RelY, int a_RelZ) const; - BLOCKTYPE GetBlock(Vector3i a_cords) const { return GetBlock(a_cords.x, a_cords.y, a_cords.z);} + BLOCKTYPE GetBlock(const Vector3i & a_RelCoords) const { return GetBlock(a_RelCoords.x, a_RelCoords.y, a_RelCoords.z); } void GetBlockTypeMeta(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_BlockMeta); void GetBlockInfo (int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_Meta, NIBBLETYPE & a_SkyLight, NIBBLETYPE & a_BlockLight); |