Added super typedef

master
Tycho 2014-07-15 12:27:36 +01:00
parent 0e5fa2662a
commit 01a31a1872
3 changed files with 6 additions and 3 deletions

View File

@ -12,9 +12,10 @@
class cBlockLadderHandler : class cBlockLadderHandler :
public cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x05, 0x03, 0x04> > public cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x05, 0x03, 0x04> >
{ {
typedef cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x05, 0x03, 0x04> > super;
public: public:
cBlockLadderHandler(BLOCKTYPE a_BlockType) cBlockLadderHandler(BLOCKTYPE a_BlockType)
: cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x05, 0x03, 0x04> >(a_BlockType) : super(a_BlockType)
{ {
} }

View File

@ -10,9 +10,10 @@
class cBlockLilypadHandler : class cBlockLilypadHandler :
public cClearMetaOnDrop<cBlockHandler> public cClearMetaOnDrop<cBlockHandler>
{ {
typedef cClearMetaOnDrop<cBlockHandler> super;
public: public:
cBlockLilypadHandler(BLOCKTYPE a_BlockType) cBlockLilypadHandler(BLOCKTYPE a_BlockType)
: cClearMetaOnDrop<cBlockHandler>(a_BlockType) : super(a_BlockType)
{ {
} }
}; };

View File

@ -8,9 +8,10 @@
class cBlockPumpkinHandler : class cBlockPumpkinHandler :
public cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x03, 0x00, 0x01, false> > public cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x03, 0x00, 0x01, false> >
{ {
typedef cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x03, 0x00, 0x01, false> > super;
public: public:
cBlockPumpkinHandler(BLOCKTYPE a_BlockType) cBlockPumpkinHandler(BLOCKTYPE a_BlockType)
: cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x03, 0x00, 0x01, false> >(a_BlockType) : super(a_BlockType)
{ {
} }