summaryrefslogtreecommitdiffstats
path: root/source/cChunk.cpp
diff options
context:
space:
mode:
authoradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-11-10 04:35:46 +0100
committeradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-11-10 04:35:46 +0100
commit581165bb5841a6d44ad498ba1c495e42169f7f7a (patch)
tree5a479143e76fa1412c1130e3374a7ffaa126189a /source/cChunk.cpp
parentAdded code for doors. Doors now place correctly but opening them is buggy and I need to change the current opening code to use bitwise operators. (diff)
downloadcuberite-581165bb5841a6d44ad498ba1c495e42169f7f7a.tar
cuberite-581165bb5841a6d44ad498ba1c495e42169f7f7a.tar.gz
cuberite-581165bb5841a6d44ad498ba1c495e42169f7f7a.tar.bz2
cuberite-581165bb5841a6d44ad498ba1c495e42169f7f7a.tar.lz
cuberite-581165bb5841a6d44ad498ba1c495e42169f7f7a.tar.xz
cuberite-581165bb5841a6d44ad498ba1c495e42169f7f7a.tar.zst
cuberite-581165bb5841a6d44ad498ba1c495e42169f7f7a.zip
Diffstat (limited to 'source/cChunk.cpp')
-rw-r--r--source/cChunk.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/cChunk.cpp b/source/cChunk.cpp
index 12b54c25e..c3fbafef9 100644
--- a/source/cChunk.cpp
+++ b/source/cChunk.cpp
@@ -365,6 +365,11 @@ void cChunk::Tick(float a_Dt)
FastSetBlock( m_BlockTickX, m_BlockTickY, m_BlockTickZ, E_BLOCK_AIR, GetLight( m_BlockMeta, Index ) );
m_World->GrowTree( m_BlockTickX + m_PosX*16, m_BlockTickY, m_BlockTickZ + m_PosZ*16 );
}
+ break;
+ case E_BLOCK_LEAVES: //todo, http://www.minecraftwiki.net/wiki/Data_values#Leaves
+ {
+ }
+ break;
default:
break;
}