From ceffb64760c06e3018538ce2caaa4cffb65b5395 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Wed, 30 May 2012 15:40:53 +0000 Subject: Farmland gets hydrated and dehydrated. Fixed an off-by-one error in neighbor-chunk manipulation. git-svn-id: http://mc-server.googlecode.com/svn/trunk@522 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cChunk.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/cChunk.h') diff --git a/source/cChunk.h b/source/cChunk.h index 860c5c133..48818ffe5 100644 --- a/source/cChunk.h +++ b/source/cChunk.h @@ -231,6 +231,7 @@ private: void TickBlocks(MTRand & a_TickRandom); void TickMelonPumpkin(int a_RelX, int a_RelY, int a_RelZ, int a_BlockIdx, BLOCKTYPE a_BlockType, MTRand & a_TickRandom); + void TickFarmland (int a_RelX, int a_RelY, int a_RelZ); /// Same as GetBlock(), but relative coords needn't be in this chunk (uses m_ChunkMap in such a case); returns true on success; only usable in Tick() bool UnboundedRelGetBlock(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_BlockMeta); -- cgit v1.2.3