From 487f9a2aa9b5497495cef1ac3b9c7a603e69f862 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Tue, 21 Apr 2020 22:19:22 +0200 Subject: Vector3 in Handlers (#4680) Refactored all cBlockHandler and cItemHandler descendants to use Vector3. --- src/Chunk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Chunk.h') 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}); } -- cgit v1.2.3