diff options
Diffstat (limited to 'source/blocks/BlockDoor.h')
-rw-r--r-- | source/blocks/BlockDoor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blocks/BlockDoor.h b/source/blocks/BlockDoor.h index ccf7dd4a7..0ccc3fdac 100644 --- a/source/blocks/BlockDoor.h +++ b/source/blocks/BlockDoor.h @@ -8,7 +8,8 @@ public: cBlockDoorHandler(BLOCKTYPE a_BlockID);
virtual void OnPlaced(cWorld *a_World, int a_X, int a_Y, int a_Z, int a_Dir) override;
virtual void OnDestroyed(cWorld *a_World, int a_X, int a_Y, int a_Z) override;
- virtual void OnClick(cWorld *a_World, cPlayer *a_Player, int a_X, int a_Y, int a_Z) override;
+ virtual void OnDigging(cWorld *a_World, cPlayer *a_Player, int a_X, int a_Y, int a_Z) override;
+ virtual void OnUse(cWorld *a_World, cPlayer *a_Player, int a_X, int a_Y, int a_Z) override;
virtual char GetDropCount() override;
virtual bool IsUseable() override
{
|