summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockLeaves.h
diff options
context:
space:
mode:
authorSamuel Barney <samjbarney@gmail.com>2014-08-21 21:37:41 +0200
committerSamuel Barney <samjbarney@gmail.com>2014-08-21 21:37:41 +0200
commit6db727c60c01264dc9a9c209c5b335da8f53cd64 (patch)
tree1ec865e37c74c571de0bc7249d1b5f17dd8f5a1c /src/Blocks/BlockLeaves.h
parentcommented out unused functions (diff)
downloadcuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.tar
cuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.tar.gz
cuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.tar.bz2
cuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.tar.lz
cuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.tar.xz
cuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.tar.zst
cuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.zip
Diffstat (limited to 'src/Blocks/BlockLeaves.h')
-rw-r--r--src/Blocks/BlockLeaves.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Blocks/BlockLeaves.h b/src/Blocks/BlockLeaves.h
index 972dd6232..e37477718 100644
--- a/src/Blocks/BlockLeaves.h
+++ b/src/Blocks/BlockLeaves.h
@@ -36,7 +36,7 @@ public:
}
- virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
+ virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) /*override*/
{
cFastRandom rand;
@@ -63,14 +63,14 @@ public:
}
- virtual void OnNeighborChanged(cChunkInterface & a_ChunkInterface, int a_BlockX, int a_BlockY, int a_BlockZ) override
+ virtual void OnNeighborChanged(cChunkInterface & a_ChunkInterface, int a_BlockX, int a_BlockY, int a_BlockZ) /*override*/
{
NIBBLETYPE Meta = a_ChunkInterface.GetBlockMeta(a_BlockX, a_BlockY, a_BlockZ);
a_ChunkInterface.SetBlockMeta(a_BlockX, a_BlockY, a_BlockZ, Meta & 0x7); // Unset 0x8 bit so it gets checked for decay
}
- virtual void OnUpdate(cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, cBlockPluginInterface & a_PluginInterface, cChunk & a_Chunk, int a_RelX, int a_RelY, int a_RelZ) override
+ virtual void OnUpdate(cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, cBlockPluginInterface & a_PluginInterface, cChunk & a_Chunk, int a_RelX, int a_RelY, int a_RelZ) /*override*/
{
NIBBLETYPE Meta = a_Chunk.GetMeta(a_RelX, a_RelY, a_RelZ);
if ((Meta & 0x04) != 0)
@@ -114,7 +114,7 @@ public:
}
- virtual const char * GetStepSound(void) override
+ virtual const char * GetStepSound(void) /*override*/
{
return "step.grass";
}