Added missing "override" specifier.
This commit is contained in:
parent
a990a6d133
commit
da2ea3c2ff
@ -109,7 +109,7 @@ public:
|
||||
}
|
||||
|
||||
|
||||
virtual float GetBlockBreakingStrength(BLOCKTYPE a_Block)
|
||||
virtual float GetBlockBreakingStrength(BLOCKTYPE a_Block) override
|
||||
{
|
||||
if (!IsBlockMaterialIron(a_Block) && !IsBlockMaterialAnvil(a_Block) && !IsBlockMaterialRock(a_Block))
|
||||
{
|
||||
|
@ -93,7 +93,7 @@ public:
|
||||
|
||||
|
||||
|
||||
virtual float GetBlockBreakingStrength(BLOCKTYPE a_Block)
|
||||
virtual float GetBlockBreakingStrength(BLOCKTYPE a_Block) override
|
||||
{
|
||||
if (IsBlocksWeb(a_Block) || IsBlockMaterialLeaves(a_Block))
|
||||
{
|
||||
|
@ -59,7 +59,7 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
virtual float GetBlockBreakingStrength(BLOCKTYPE a_Block)
|
||||
virtual float GetBlockBreakingStrength(BLOCKTYPE a_Block) override
|
||||
{
|
||||
switch (a_Block)
|
||||
{
|
||||
|
@ -59,7 +59,7 @@ public:
|
||||
|
||||
|
||||
|
||||
virtual float GetBlockBreakingStrength(BLOCKTYPE a_Block)
|
||||
virtual float GetBlockBreakingStrength(BLOCKTYPE a_Block) override
|
||||
{
|
||||
if (a_Block == E_BLOCK_COBWEB)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user