From f9dab57d8b4b98ec0f624212452c48769c8441d1 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Mon, 15 Oct 2012 20:16:43 +0000 Subject: Fixed DelayedFluidSimulator. Floody fluid simulator is now woken up properly across chunk borders. git-svn-id: http://mc-server.googlecode.com/svn/trunk@966 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Chunk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/Chunk.cpp') diff --git a/source/Chunk.cpp b/source/Chunk.cpp index fa9cb91d3..daeb24750 100644 --- a/source/Chunk.cpp +++ b/source/Chunk.cpp @@ -955,7 +955,7 @@ void cChunk::CheckNeighbors(int a_RelX, int a_RelY, int a_RelZ) { int BlockX = m_PosX * cChunkDef::Width + a_RelX; int BlockZ = m_PosZ * cChunkDef::Width + a_RelZ; - if (a_RelX < cChunkDef::Width) + if (a_RelX < cChunkDef::Width - 1) { m_ToTickBlocks.push_back(MakeIndexNoCheck(a_RelX + 1, a_RelY, a_RelZ)); } -- cgit v1.2.3