1
0

Fixed compilation error in BlockCauldron.h on Linux

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1117 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
luksor111@gmail.com 2012-12-29 12:20:33 +00:00
parent 4561b2c22f
commit 10d78bd93d

View File

@ -31,7 +31,8 @@ public:
a_World->SetBlockMeta( a_BlockX, a_BlockY, a_BlockZ, 3 );
cItem Item(a_Player->GetEquippedItem().m_ItemType, 1);
a_Player->GetInventory().RemoveItem(Item);
a_Player->GetInventory().AddItem(cItem(E_ITEM_BUCKET, 1, 0));
cItem NewItem(E_ITEM_BUCKET, 1);
a_Player->GetInventory().AddItem(NewItem);
break;
}
case E_ITEM_GLASS_BOTTLE:
@ -41,7 +42,8 @@ public:
a_World->SetBlockMeta( a_BlockX, a_BlockY, a_BlockZ, --Meta );
cItem Item(a_Player->GetEquippedItem().m_ItemType, 1);
a_Player->GetInventory().RemoveItem(Item);
a_Player->GetInventory().AddItem(cItem(E_ITEM_POTIONS, 1, 0));
cItem NewItem(E_ITEM_POTIONS, 1, 0);
a_Player->GetInventory().AddItem(NewItem);
}
break;
}