summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockFlowerPot.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/Blocks/BlockFlowerPot.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/source/Blocks/BlockFlowerPot.h b/source/Blocks/BlockFlowerPot.h
index ba93430f8..1c02126df 100644
--- a/source/Blocks/BlockFlowerPot.h
+++ b/source/Blocks/BlockFlowerPot.h
@@ -27,15 +27,15 @@ public:
cItem Plant;
switch (a_BlockMeta)
{
- case 1: Plant = cItem(E_ITEM_RED_ROSE, 1, 0); break;
- case 2: Plant = cItem(E_ITEM_YELLOW_FLOWER, 1, 0); break;
- case 3: Plant = cItem(E_ITEM_SAPLING, 1, E_META_SAPLING_APPLE); break;
- case 4: Plant = cItem(E_ITEM_SAPLING, 1, E_META_SAPLING_CONIFER); break;
- case 5: Plant = cItem(E_ITEM_SAPLING, 1, E_META_SAPLING_BIRCH); break;
- case 6: Plant = cItem(E_ITEM_SAPLING, 1, E_META_SAPLING_JUNGLE); break;
- case 7: Plant = cItem(E_ITEM_RED_MUSHROOM, 1, 0); break;
- case 8: Plant = cItem(E_ITEM_BROWN_MUSHROOM, 1, 0); break;
- case 9: Plant = cItem(E_ITEM_CACTUS, 1, 0); break;
+ case 1: Plant = cItem(E_BLOCK_RED_ROSE, 1, 0); break;
+ case 2: Plant = cItem(E_BLOCK_YELLOW_FLOWER, 1, 0); break;
+ case 3: Plant = cItem(E_BLOCK_SAPLING, 1, E_META_SAPLING_APPLE); break;
+ case 4: Plant = cItem(E_BLOCK_SAPLING, 1, E_META_SAPLING_CONIFER); break;
+ case 5: Plant = cItem(E_BLOCK_SAPLING, 1, E_META_SAPLING_BIRCH); break;
+ case 6: Plant = cItem(E_BLOCK_SAPLING, 1, E_META_SAPLING_JUNGLE); break;
+ case 7: Plant = cItem(E_BLOCK_RED_MUSHROOM, 1, 0); break;
+ case 8: Plant = cItem(E_BLOCK_BROWN_MUSHROOM, 1, 0); break;
+ case 9: Plant = cItem(E_BLOCK_CACTUS, 1, 0); break;
case 10: Plant = cItem(E_BLOCK_DEAD_BUSH, 1, 0); break;
case 11: Plant = cItem(E_BLOCK_TALL_GRASS, 1, E_META_TALL_GRASS_FERN); break;
default: return;
@@ -55,9 +55,9 @@ public:
switch (a_Player->GetEquippedItem().m_ItemType)
{
- case E_ITEM_RED_ROSE: Meta = 1; break;
- case E_ITEM_YELLOW_FLOWER: Meta = 2; break;
- case E_ITEM_SAPLING:
+ case E_BLOCK_RED_ROSE: Meta = 1; break;
+ case E_BLOCK_YELLOW_FLOWER: Meta = 2; break;
+ case E_BLOCK_SAPLING:
{
switch (a_Player->GetEquippedItem().m_ItemDamage)
{
@@ -68,9 +68,9 @@ public:
}
break;
}
- case E_ITEM_RED_MUSHROOM: Meta = 7; break;
- case E_ITEM_BROWN_MUSHROOM: Meta = 8; break;
- case E_ITEM_CACTUS: Meta = 9; break;
+ case E_BLOCK_RED_MUSHROOM: Meta = 7; break;
+ case E_BLOCK_BROWN_MUSHROOM: Meta = 8; break;
+ case E_BLOCK_CACTUS: Meta = 9; break;
case E_BLOCK_DEAD_BUSH: Meta = 10; break;
case E_BLOCK_TALL_GRASS:
{