summaryrefslogtreecommitdiffstats
path: root/source/blocks/BlockTallGrass.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/blocks/BlockTallGrass.h')
-rw-r--r--source/blocks/BlockTallGrass.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blocks/BlockTallGrass.h b/source/blocks/BlockTallGrass.h
index a702bb8ca..ac66c1714 100644
--- a/source/blocks/BlockTallGrass.h
+++ b/source/blocks/BlockTallGrass.h
@@ -10,17 +10,17 @@ public:
{
}
- virtual bool IgnoreBuildCollision()
+ virtual bool IgnoreBuildCollision() override
{
return true;
}
- virtual int GetDropID()
+ virtual int GetDropID() override
{
return E_ITEM_SEEDS;
}
- virtual char GetDropCount()
+ virtual char GetDropCount() override
{
MTRand r1;
if(r1.randInt(10) == 5)
@@ -28,7 +28,7 @@ public:
return 0;
}
- virtual bool CanBeAt(cWorld *a_World, int a_X, int a_Y, int a_Z)
+ virtual bool CanBeAt(cWorld *a_World, int a_X, int a_Y, int a_Z) override
{
return a_World->GetBlock(a_X, a_Y - 1, a_Z) != E_BLOCK_AIR;
}