summaryrefslogtreecommitdiffstats
path: root/src/Bindings
diff options
context:
space:
mode:
authorLO1ZB <andreasdaamen@web.de>2014-08-28 11:36:35 +0200
committerLO1ZB <andreasdaamen@web.de>2014-08-28 11:36:35 +0200
commit3c1c073714e2b0542c9a79db962b6fc9e6ddd352 (patch)
treecf8c191b1642914745944fa376ba1f2f56a95ea6 /src/Bindings
parentDungeonRooms: Fixed an off-by-one error. (diff)
downloadcuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.tar
cuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.tar.gz
cuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.tar.bz2
cuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.tar.lz
cuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.tar.xz
cuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.tar.zst
cuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.zip
Diffstat (limited to 'src/Bindings')
-rw-r--r--src/Bindings/LuaChunkStay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/LuaChunkStay.cpp b/src/Bindings/LuaChunkStay.cpp
index 59b02d8f7..154bcb200 100644
--- a/src/Bindings/LuaChunkStay.cpp
+++ b/src/Bindings/LuaChunkStay.cpp
@@ -107,7 +107,7 @@ void cLuaChunkStay::AddChunkCoord(cLuaState & L, int a_Index)
}
} // for itr - m_Chunks[]
- m_Chunks.push_back(cChunkCoords(ChunkX, ZERO_CHUNK_Y, ChunkZ));
+ m_Chunks.push_back(cChunkCoords(ChunkX, ChunkZ));
}