diff options
author | madmaxoft <github@xoft.cz> | 2013-12-04 19:47:08 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-12-04 19:47:08 +0100 |
commit | be1cdadda76ca00998355c4b52da55d012ceae4a (patch) | |
tree | b2c079c1f16e310bb8e687f97fce9d25b9cb625a /src | |
parent | Fixed a linker warning in MSVC debug build. (diff) | |
download | cuberite-be1cdadda76ca00998355c4b52da55d012ceae4a.tar cuberite-be1cdadda76ca00998355c4b52da55d012ceae4a.tar.gz cuberite-be1cdadda76ca00998355c4b52da55d012ceae4a.tar.bz2 cuberite-be1cdadda76ca00998355c4b52da55d012ceae4a.tar.lz cuberite-be1cdadda76ca00998355c4b52da55d012ceae4a.tar.xz cuberite-be1cdadda76ca00998355c4b52da55d012ceae4a.tar.zst cuberite-be1cdadda76ca00998355c4b52da55d012ceae4a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Chunk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp index 45825a30f..5c9eb892b 100644 --- a/src/Chunk.cpp +++ b/src/Chunk.cpp @@ -641,7 +641,7 @@ void cChunk::TickBlock(int a_RelX, int a_RelY, int a_RelZ) } cBlockHandler * Handler = BlockHandler(m_BlockTypes[Index]); ASSERT(Handler != NULL); // Happenned on server restart, FS #243 - Handler->OnUpdate(*this, a_RelX + m_PosX * Width, a_RelY, a_RelZ + m_PosZ * Width); + Handler->OnUpdate(*this, a_RelX, a_RelY, a_RelZ); } @@ -794,7 +794,7 @@ void cChunk::TickBlocks(void) unsigned int Index = MakeIndexNoCheck(m_BlockTickX, m_BlockTickY, m_BlockTickZ); cBlockHandler * Handler = BlockHandler(m_BlockTypes[Index]); ASSERT(Handler != NULL); // Happenned on server restart, FS #243 - Handler->OnUpdate(*this, m_BlockTickX + m_PosX * Width, m_BlockTickY, m_BlockTickZ + m_PosZ * Width); + Handler->OnUpdate(*this, m_BlockTickX, m_BlockTickY, m_BlockTickZ); } // for i - tickblocks } |