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:
parent
4561b2c22f
commit
10d78bd93d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user