diff options
author | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-22 14:46:55 +0100 |
---|---|---|
committer | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-22 14:46:55 +0100 |
commit | d7242414070aa823f879f225b0cf734f4a880759 (patch) | |
tree | 5a49a42221aca3ff37f901274ad60746f9747c40 /src/ChunkDef.h | |
parent | Merge branch 'master' of github.com:mc-server/MCServer (diff) | |
download | cuberite-d7242414070aa823f879f225b0cf734f4a880759.tar cuberite-d7242414070aa823f879f225b0cf734f4a880759.tar.gz cuberite-d7242414070aa823f879f225b0cf734f4a880759.tar.bz2 cuberite-d7242414070aa823f879f225b0cf734f4a880759.tar.lz cuberite-d7242414070aa823f879f225b0cf734f4a880759.tar.xz cuberite-d7242414070aa823f879f225b0cf734f4a880759.tar.zst cuberite-d7242414070aa823f879f225b0cf734f4a880759.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ChunkDef.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ChunkDef.h b/src/ChunkDef.h index c6f6c50b3..bf41aa625 100644 --- a/src/ChunkDef.h +++ b/src/ChunkDef.h @@ -180,8 +180,9 @@ public: /// Converts absolute block coords into relative (chunk + block) coords: - inline static void AbsoluteToRelative(/* in-out */ int & a_X, int& /* a_Y */, int & a_Z, /* out */ int & a_ChunkX, int & a_ChunkZ ) + inline static void AbsoluteToRelative(/* in-out */ int & a_X, int& a_Y, int & a_Z, /* out */ int & a_ChunkX, int & a_ChunkZ ) { + UNUSED(a_Y); BlockToChunk(a_X, a_Z, a_ChunkX, a_ChunkZ); a_X = a_X - a_ChunkX * Width; |