summaryrefslogtreecommitdiffstats
path: root/src/Chunk.h
diff options
context:
space:
mode:
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 bb6f2e5b5..96adf71d7 100644
--- a/src/Chunk.h
+++ b/src/Chunk.h
@@ -572,7 +572,7 @@ public:
/** Converts the coord relative to this chunk into an absolute coord.
Doesn't check relative coord validity. */
- Vector3i RelativeToAbsolute(Vector3i a_RelBlockPosition)
+ Vector3i RelativeToAbsolute(Vector3i a_RelBlockPosition) const
{
return cChunkDef::RelativeToAbsolute(a_RelBlockPosition, {m_PosX, m_PosZ});
}