summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockSugarcane.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/BlockSugarcane.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 '')
-rw-r--r--src/Blocks/BlockSugarcane.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Blocks/BlockSugarcane.h b/src/Blocks/BlockSugarcane.h
index 5902c791b..519ec3836 100644
--- a/src/Blocks/BlockSugarcane.h
+++ b/src/Blocks/BlockSugarcane.h
@@ -17,13 +17,13 @@ public:
}
- virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
+ virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) /*override*/
{
a_Pickups.push_back(cItem(E_ITEM_SUGARCANE, 1, 0));
}
- virtual bool CanBeAt(cChunkInterface & a_ChunkInterface, int a_RelX, int a_RelY, int a_RelZ, const cChunk & a_Chunk) override
+ virtual bool CanBeAt(cChunkInterface & a_ChunkInterface, int a_RelX, int a_RelY, int a_RelZ, const cChunk & a_Chunk) /*override*/
{
if (a_RelY <= 0)
{
@@ -74,13 +74,13 @@ public:
}
- virtual void OnUpdate(cChunkInterface & cChunkInterface, cWorldInterface & a_WorldInterface, cBlockPluginInterface & a_PluginInterface, cChunk & a_Chunk, int a_RelX, int a_RelY, int a_RelZ) override
+ virtual void OnUpdate(cChunkInterface & cChunkInterface, cWorldInterface & a_WorldInterface, cBlockPluginInterface & a_PluginInterface, cChunk & a_Chunk, int a_RelX, int a_RelY, int a_RelZ) /*override*/
{
a_Chunk.GetWorld()->GrowSugarcane(a_RelX + a_Chunk.GetPosX() * cChunkDef::Width, a_RelY, a_RelZ + a_Chunk.GetPosZ() * cChunkDef::Width, 1);
}
- virtual const char * GetStepSound(void) override
+ virtual const char * GetStepSound(void) /*override*/
{
return "step.grass";
}