1
0

COnverted Lilypad back to mixin

This commit is contained in:
Tycho 2014-07-15 00:01:16 +01:00
parent 8fd636aa72
commit 0e5fa2662a

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));
}
};