diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-07-15 13:27:36 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-07-15 13:27:36 +0200 |
commit | 01a31a1872bb7c33d5a4d0a13dae083c4ef7792e (patch) | |
tree | 00efa32bb2840db9280f7fd690b7681d0ae4269d | |
parent | COnverted Lilypad back to mixin (diff) | |
download | cuberite-01a31a1872bb7c33d5a4d0a13dae083c4ef7792e.tar cuberite-01a31a1872bb7c33d5a4d0a13dae083c4ef7792e.tar.gz cuberite-01a31a1872bb7c33d5a4d0a13dae083c4ef7792e.tar.bz2 cuberite-01a31a1872bb7c33d5a4d0a13dae083c4ef7792e.tar.lz cuberite-01a31a1872bb7c33d5a4d0a13dae083c4ef7792e.tar.xz cuberite-01a31a1872bb7c33d5a4d0a13dae083c4ef7792e.tar.zst cuberite-01a31a1872bb7c33d5a4d0a13dae083c4ef7792e.zip |
-rw-r--r-- | src/Blocks/BlockLadder.h | 3 | ||||
-rw-r--r-- | src/Blocks/BlockLilypad.h | 3 | ||||
-rw-r--r-- | src/Blocks/BlockPumpkin.h | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/src/Blocks/BlockLadder.h b/src/Blocks/BlockLadder.h index 1af2be067..211bbdd9e 100644 --- a/src/Blocks/BlockLadder.h +++ b/src/Blocks/BlockLadder.h @@ -12,9 +12,10 @@ class cBlockLadderHandler : public cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x05, 0x03, 0x04> > { + typedef cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x05, 0x03, 0x04> > super; public: cBlockLadderHandler(BLOCKTYPE a_BlockType) - : cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x05, 0x03, 0x04> >(a_BlockType) + : super(a_BlockType) { } diff --git a/src/Blocks/BlockLilypad.h b/src/Blocks/BlockLilypad.h index c25f150c7..1320174fc 100644 --- a/src/Blocks/BlockLilypad.h +++ b/src/Blocks/BlockLilypad.h @@ -10,9 +10,10 @@ class cBlockLilypadHandler : public cClearMetaOnDrop<cBlockHandler> { +typedef cClearMetaOnDrop<cBlockHandler> super; public: cBlockLilypadHandler(BLOCKTYPE a_BlockType) - : cClearMetaOnDrop<cBlockHandler>(a_BlockType) + : super(a_BlockType) { } }; diff --git a/src/Blocks/BlockPumpkin.h b/src/Blocks/BlockPumpkin.h index f4022735b..d2e9d7843 100644 --- a/src/Blocks/BlockPumpkin.h +++ b/src/Blocks/BlockPumpkin.h @@ -8,9 +8,10 @@ class cBlockPumpkinHandler : public cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x03, 0x00, 0x01, false> > { +typedef cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x03, 0x00, 0x01, false> > super; public: cBlockPumpkinHandler(BLOCKTYPE a_BlockType) - : cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x03, 0x00, 0x01, false> >(a_BlockType) + : super(a_BlockType) { } |