1
0

Merge pull request #2352 from mmdk95/master

Fix duping doors
This commit is contained in:
Tiger Wang 2015-07-14 21:32:28 +01:00
commit 9d4d25cdbf

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: