summaryrefslogtreecommitdiffstats
path: root/src/Chunk.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-08-29 18:19:27 +0200
committerMattes D <github@xoft.cz>2014-08-29 18:19:47 +0200
commit22e3bbd0db71f9bd6d0a4306db1127f257bd24b1 (patch)
tree28c19677ac10421b48ae1a8905c37a05d6785c4f /src/Chunk.h
parentVanillaFluidSimulator: Fixed an invalid Y-coord query. (diff)
downloadcuberite-22e3bbd0db71f9bd6d0a4306db1127f257bd24b1.tar
cuberite-22e3bbd0db71f9bd6d0a4306db1127f257bd24b1.tar.gz
cuberite-22e3bbd0db71f9bd6d0a4306db1127f257bd24b1.tar.bz2
cuberite-22e3bbd0db71f9bd6d0a4306db1127f257bd24b1.tar.lz
cuberite-22e3bbd0db71f9bd6d0a4306db1127f257bd24b1.tar.xz
cuberite-22e3bbd0db71f9bd6d0a4306db1127f257bd24b1.tar.zst
cuberite-22e3bbd0db71f9bd6d0a4306db1127f257bd24b1.zip
Diffstat (limited to '')
-rw-r--r--src/Chunk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Chunk.h b/src/Chunk.h
index 72a1f6c95..e7aeff1a4 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(Vector3i a_RelCords) const { return GetBlock(a_RelCords.x, a_RelCords.y, a_RelCords.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);