diff options
Diffstat (limited to '')
-rw-r--r-- | source/Items/ItemShovel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Items/ItemShovel.h b/source/Items/ItemShovel.h index 7914a1703..f26e393c8 100644 --- a/source/Items/ItemShovel.h +++ b/source/Items/ItemShovel.h @@ -20,7 +20,7 @@ public: }
- virtual bool OnDiggingBlock(cWorld * a_World, cPlayer * a_Player, cItem * a_Item, int a_BlockX, int a_BlockY, int a_BlockZ, char a_Dir) override
+ virtual bool OnDiggingBlock(cWorld * a_World, cPlayer * a_Player, const cItem & a_Item, int a_BlockX, int a_BlockY, int a_BlockZ, char a_Dir) override
{
BLOCKTYPE Block = a_World->GetBlock(a_BlockX, a_BlockY, a_BlockZ);
if (Block == E_BLOCK_SNOW)
|