summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockBigFlower.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-08-20 16:23:31 +0200
committerMattes D <github@xoft.cz>2014-08-20 16:23:31 +0200
commit5410a36f92c1c94f25552dff4a46b9611f0cb917 (patch)
tree920627577c09fd3270b08bab3e7a6d3d29d52025 /src/Blocks/BlockBigFlower.h
parentPlayer: Silenced a few type conversion warnings. (diff)
parentRemoved old classes from the CMakeLists.txt (diff)
downloadcuberite-5410a36f92c1c94f25552dff4a46b9611f0cb917.tar
cuberite-5410a36f92c1c94f25552dff4a46b9611f0cb917.tar.gz
cuberite-5410a36f92c1c94f25552dff4a46b9611f0cb917.tar.bz2
cuberite-5410a36f92c1c94f25552dff4a46b9611f0cb917.tar.lz
cuberite-5410a36f92c1c94f25552dff4a46b9611f0cb917.tar.xz
cuberite-5410a36f92c1c94f25552dff4a46b9611f0cb917.tar.zst
cuberite-5410a36f92c1c94f25552dff4a46b9611f0cb917.zip
Diffstat (limited to 'src/Blocks/BlockBigFlower.h')
-rw-r--r--src/Blocks/BlockBigFlower.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Blocks/BlockBigFlower.h b/src/Blocks/BlockBigFlower.h
index 0b6ac9d8a..72e552dee 100644
--- a/src/Blocks/BlockBigFlower.h
+++ b/src/Blocks/BlockBigFlower.h
@@ -37,7 +37,7 @@ public:
{
NIBBLETYPE Meta = a_BlockMeta & 0x7;
- if ((Meta == 2) || (Meta == 3))
+ if ((Meta == E_META_BIG_FLOWER_DOUBLE_TALL_GRASS) || (Meta == E_META_BIG_FLOWER_LARGE_FERN))
{
return;
}
@@ -63,11 +63,11 @@ public:
if (r1.randInt(10) == 5)
{
cItems Pickups;
- if (FlowerMeta == 2)
+ if (FlowerMeta == E_META_BIG_FLOWER_DOUBLE_TALL_GRASS)
{
Pickups.Add(E_BLOCK_TALL_GRASS, 2, 1);
}
- else if (FlowerMeta == 3)
+ else if (FlowerMeta == E_META_BIG_FLOWER_LARGE_FERN)
{
Pickups.Add(E_BLOCK_TALL_GRASS, 2, 2);
}