summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-06 21:01:52 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-06 21:01:52 +0100
commit008c515b4b4c0fd0bb519591c9a3054b971ccf35 (patch)
treeeebcecc5ee1586354907b13ae4e0643210d2277b /src
parentSpawn eggs use IsGameMode() (diff)
downloadcuberite-008c515b4b4c0fd0bb519591c9a3054b971ccf35.tar
cuberite-008c515b4b4c0fd0bb519591c9a3054b971ccf35.tar.gz
cuberite-008c515b4b4c0fd0bb519591c9a3054b971ccf35.tar.bz2
cuberite-008c515b4b4c0fd0bb519591c9a3054b971ccf35.tar.lz
cuberite-008c515b4b4c0fd0bb519591c9a3054b971ccf35.tar.xz
cuberite-008c515b4b4c0fd0bb519591c9a3054b971ccf35.tar.zst
cuberite-008c515b4b4c0fd0bb519591c9a3054b971ccf35.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockTrapdoor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockTrapdoor.h b/src/Blocks/BlockTrapdoor.h
index 58d770d23..4682faa3b 100644
--- a/src/Blocks/BlockTrapdoor.h
+++ b/src/Blocks/BlockTrapdoor.h
@@ -32,7 +32,7 @@ public:
return true;
}
- void OnUse(cWorld * a_World, cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ)
+ virtual void OnUse(cWorld * a_World, cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ) override
{
// Flip the ON bit on/off using the XOR bitwise operation
NIBBLETYPE Meta = (a_World->GetBlockMeta(a_BlockX, a_BlockY, a_BlockZ) ^ 0x04);