summaryrefslogtreecommitdiffstats
path: root/src/Chunk.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Chunk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Chunk.h b/src/Chunk.h
index 39dc07a9f..7ba12f5ef 100644
--- a/src/Chunk.h
+++ b/src/Chunk.h
@@ -151,6 +151,7 @@ public:
int GetPosX(void) const { return m_PosX; }
int GetPosZ(void) const { return m_PosZ; }
+ cChunkCoords GetPos() const { return {m_PosX, m_PosZ}; }
cWorld * GetWorld(void) const { return m_World; }