summaryrefslogtreecommitdiffstats
path: root/src/ChunkDef.h
diff options
context:
space:
mode:
authorTycho Bickerstaff <work.tycho@gmail.com>2013-12-22 17:11:34 +0100
committerTycho Bickerstaff <work.tycho@gmail.com>2013-12-22 17:11:34 +0100
commit15a980a6169ff975628bf1d4ecd16168fe609bf4 (patch)
treea7bc776991e20a21206f2198d1f702a6800bec6f /src/ChunkDef.h
parentremoved lua makefile (diff)
downloadcuberite-15a980a6169ff975628bf1d4ecd16168fe609bf4.tar
cuberite-15a980a6169ff975628bf1d4ecd16168fe609bf4.tar.gz
cuberite-15a980a6169ff975628bf1d4ecd16168fe609bf4.tar.bz2
cuberite-15a980a6169ff975628bf1d4ecd16168fe609bf4.tar.lz
cuberite-15a980a6169ff975628bf1d4ecd16168fe609bf4.tar.xz
cuberite-15a980a6169ff975628bf1d4ecd16168fe609bf4.tar.zst
cuberite-15a980a6169ff975628bf1d4ecd16168fe609bf4.zip
Diffstat (limited to '')
-rw-r--r--src/ChunkDef.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ChunkDef.h b/src/ChunkDef.h
index 8c37e7907..7d727a4d4 100644
--- a/src/ChunkDef.h
+++ b/src/ChunkDef.h
@@ -182,6 +182,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;