1
0

Fix duping doors (#1327)

This commit is contained in:
mmdk95 2015-07-14 01:09:05 +02:00
parent f6f27a139e
commit c12704183b

View File

@ -55,6 +55,10 @@ public:
virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
{
if ((a_BlockMeta & 0x08) != 0) // is top part of door
{
return;
}
switch (m_BlockType)
{
case E_BLOCK_WOODEN_DOOR: