diff options
author | lapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-19 12:44:19 +0200 |
---|---|---|
committer | lapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-19 12:44:19 +0200 |
commit | f6ae6002c3db2535a9858cf88537845245e6e7ba (patch) | |
tree | 8ff2054270b689487d2d593734a09b5f04b9771f /source/blocks/BlockDoor.h | |
parent | Android: Finally a log! :D (diff) | |
download | cuberite-f6ae6002c3db2535a9858cf88537845245e6e7ba.tar cuberite-f6ae6002c3db2535a9858cf88537845245e6e7ba.tar.gz cuberite-f6ae6002c3db2535a9858cf88537845245e6e7ba.tar.bz2 cuberite-f6ae6002c3db2535a9858cf88537845245e6e7ba.tar.lz cuberite-f6ae6002c3db2535a9858cf88537845245e6e7ba.tar.xz cuberite-f6ae6002c3db2535a9858cf88537845245e6e7ba.tar.zst cuberite-f6ae6002c3db2535a9858cf88537845245e6e7ba.zip |
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
{
|