diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-05-30 17:40:53 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-05-30 17:40:53 +0200 |
commit | ceffb64760c06e3018538ce2caaa4cffb65b5395 (patch) | |
tree | 0f3ed891ba358ee05966ae1a9464a3e1101c414d /source/cChunk.h | |
parent | Fixed a crash when chunks were loaded / generated with entities ( http://forum.mc-server.org/showthread.php?tid=450 ) (diff) | |
download | cuberite-ceffb64760c06e3018538ce2caaa4cffb65b5395.tar cuberite-ceffb64760c06e3018538ce2caaa4cffb65b5395.tar.gz cuberite-ceffb64760c06e3018538ce2caaa4cffb65b5395.tar.bz2 cuberite-ceffb64760c06e3018538ce2caaa4cffb65b5395.tar.lz cuberite-ceffb64760c06e3018538ce2caaa4cffb65b5395.tar.xz cuberite-ceffb64760c06e3018538ce2caaa4cffb65b5395.tar.zst cuberite-ceffb64760c06e3018538ce2caaa4cffb65b5395.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cChunk.h | 1 |
1 files changed, 1 insertions, 0 deletions
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);
|