summaryrefslogtreecommitdiffstats
path: root/src/BlockArea.cpp
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-03-11 14:44:21 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2014-03-11 14:44:21 +0100
commit541175d8a08515568d75a8d6b57bc4841e273c4a (patch)
tree3a3e5351548188c6e87768b408cb53bec027c223 /src/BlockArea.cpp
parentThis allows a blockarea to have an Offset. (diff)
downloadcuberite-541175d8a08515568d75a8d6b57bc4841e273c4a.tar
cuberite-541175d8a08515568d75a8d6b57bc4841e273c4a.tar.gz
cuberite-541175d8a08515568d75a8d6b57bc4841e273c4a.tar.bz2
cuberite-541175d8a08515568d75a8d6b57bc4841e273c4a.tar.lz
cuberite-541175d8a08515568d75a8d6b57bc4841e273c4a.tar.xz
cuberite-541175d8a08515568d75a8d6b57bc4841e273c4a.tar.zst
cuberite-541175d8a08515568d75a8d6b57bc4841e273c4a.zip
Diffstat (limited to 'src/BlockArea.cpp')
-rw-r--r--src/BlockArea.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlockArea.cpp b/src/BlockArea.cpp
index 986b2ee25..dfdf998df 100644
--- a/src/BlockArea.cpp
+++ b/src/BlockArea.cpp
@@ -264,7 +264,7 @@ void cBlockArea::SetOffset(int a_OffsetX, int a_OffsetY, int a_OffsetZ)
-void cBlockArea::SetOffset(Vector3i a_Offset)
+void cBlockArea::SetOffset(const Vector3i & a_Offset)
{
m_Offset.Set(a_Offset.x, a_Offset.y, a_Offset.z);
}