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.cpp | |
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 '')
-rw-r--r-- | source/blocks/BlockDoor.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blocks/BlockDoor.cpp b/source/blocks/BlockDoor.cpp index 3fc804704..ecee2c12d 100644 --- a/source/blocks/BlockDoor.cpp +++ b/source/blocks/BlockDoor.cpp @@ -38,7 +38,12 @@ void cBlockDoorHandler::OnDestroyed(cWorld *a_World, int a_X, int a_Y, int a_Z) }
}
-void cBlockDoorHandler::OnClick(cWorld *a_World, cPlayer *a_Player, int a_X, int a_Y, int a_Z)
+void cBlockDoorHandler::OnDigging(cWorld *a_World, cPlayer *a_Player, int a_X, int a_Y, int a_Z)
+{
+ cDoors::ChangeDoor(a_World, a_X, a_Y, a_Z);
+}
+
+void cBlockDoorHandler::OnUse(cWorld *a_World, cPlayer *a_Player, int a_X, int a_Y, int a_Z)
{
cDoors::ChangeDoor(a_World, a_X, a_Y, a_Z);
}
|