diff options
author | Samuel Barney <samjbarney@gmail.com> | 2013-10-31 13:19:06 +0100 |
---|---|---|
committer | Samuel Barney <samjbarney@gmail.com> | 2013-10-31 13:19:06 +0100 |
commit | d85a2a1c2f07b19e86ccff126be09798850a3216 (patch) | |
tree | dcb6b0e2ba1393790ee8c8d31edc4a7d6698fdf6 /source/Blocks/BlockRail.h | |
parent | Added missing conventions for windows. (diff) | |
download | cuberite-d85a2a1c2f07b19e86ccff126be09798850a3216.tar cuberite-d85a2a1c2f07b19e86ccff126be09798850a3216.tar.gz cuberite-d85a2a1c2f07b19e86ccff126be09798850a3216.tar.bz2 cuberite-d85a2a1c2f07b19e86ccff126be09798850a3216.tar.lz cuberite-d85a2a1c2f07b19e86ccff126be09798850a3216.tar.xz cuberite-d85a2a1c2f07b19e86ccff126be09798850a3216.tar.zst cuberite-d85a2a1c2f07b19e86ccff126be09798850a3216.zip |
Diffstat (limited to 'source/Blocks/BlockRail.h')
-rw-r--r-- | source/Blocks/BlockRail.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/Blocks/BlockRail.h b/source/Blocks/BlockRail.h index ebf90f60f..24a101652 100644 --- a/source/Blocks/BlockRail.h +++ b/source/Blocks/BlockRail.h @@ -22,6 +22,8 @@ enum ENUM_PURE class cBlockRailHandler : public cBlockHandler { + typedef cBlockHandler super; + public: cBlockRailHandler(BLOCKTYPE a_BlockType) : cBlockHandler(a_BlockType) @@ -51,7 +53,10 @@ public: } - virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override { cBlockHandler::ConvertToPickups(a_Pickups, 0); } + virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override + { + super::ConvertToPickups(a_Pickups, 0); + } virtual bool CanBeAt(int a_RelX, int a_RelY, int a_RelZ, const cChunk & a_Chunk) override |