summaryrefslogtreecommitdiffstats
path: root/src/ChunkDef.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-02-23 21:23:35 +0100
committerTycho <work.tycho+git@gmail.com>2014-02-23 21:23:35 +0100
commit462e0bcf46ce8e7c29e9f00ace58c2fcebffb8d1 (patch)
tree319614feeb429ae401d120f458e2555b426cadd4 /src/ChunkDef.h
parentUpdated CONTRIBUTING file with formatting and essential rules. (diff)
downloadcuberite-462e0bcf46ce8e7c29e9f00ace58c2fcebffb8d1.tar
cuberite-462e0bcf46ce8e7c29e9f00ace58c2fcebffb8d1.tar.gz
cuberite-462e0bcf46ce8e7c29e9f00ace58c2fcebffb8d1.tar.bz2
cuberite-462e0bcf46ce8e7c29e9f00ace58c2fcebffb8d1.tar.lz
cuberite-462e0bcf46ce8e7c29e9f00ace58c2fcebffb8d1.tar.xz
cuberite-462e0bcf46ce8e7c29e9f00ace58c2fcebffb8d1.tar.zst
cuberite-462e0bcf46ce8e7c29e9f00ace58c2fcebffb8d1.zip
Diffstat (limited to 'src/ChunkDef.h')
-rw-r--r--src/ChunkDef.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ChunkDef.h b/src/ChunkDef.h
index f48dc4fd5..7be2fa2df 100644
--- a/src/ChunkDef.h
+++ b/src/ChunkDef.h
@@ -92,6 +92,7 @@ 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 )
{
+ UNUSED(a_Y);
BlockToChunk(a_X, a_Z, a_ChunkX, a_ChunkZ);
a_X = a_X - a_ChunkX * Width;