COnverted Lilypad back to mixin

master
Tycho 2014-07-15 00:01:16 +01:00
parent 8fd636aa72
commit 0e5fa2662a
1 changed files with 2 additions and 8 deletions

View File

@ -8,19 +8,13 @@
class cBlockLilypadHandler :
public cBlockHandler
public cClearMetaOnDrop<cBlockHandler>
{
public:
cBlockLilypadHandler(BLOCKTYPE a_BlockType)
: cBlockHandler(a_BlockType)
: cClearMetaOnDrop<cBlockHandler>(a_BlockType)
{
}
virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
{
// Reset meta to zero
a_Pickups.push_back(cItem(E_BLOCK_LILY_PAD, 1, 0));
}
};