summaryrefslogtreecommitdiffstats
path: root/source/blocks
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-28 14:21:50 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-28 14:21:50 +0200
commite806198388c948e0636f9a52fae707f7fba7ae94 (patch)
tree23c7e44c8f978a9bf3573a291abcf6cd179b0380 /source/blocks
parentVC2008 project: finally a truly Release build, with full optimization. (diff)
downloadcuberite-e806198388c948e0636f9a52fae707f7fba7ae94.tar
cuberite-e806198388c948e0636f9a52fae707f7fba7ae94.tar.gz
cuberite-e806198388c948e0636f9a52fae707f7fba7ae94.tar.bz2
cuberite-e806198388c948e0636f9a52fae707f7fba7ae94.tar.lz
cuberite-e806198388c948e0636f9a52fae707f7fba7ae94.tar.xz
cuberite-e806198388c948e0636f9a52fae707f7fba7ae94.tar.zst
cuberite-e806198388c948e0636f9a52fae707f7fba7ae94.zip
Diffstat (limited to '')
-rw-r--r--source/blocks/Block.cpp2
-rw-r--r--source/blocks/BlockOre.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blocks/Block.cpp b/source/blocks/Block.cpp
index 215a6c618..0df3e8374 100644
--- a/source/blocks/Block.cpp
+++ b/source/blocks/Block.cpp
@@ -148,7 +148,7 @@ cBlockHandler *cBlockHandler::CreateBlockHandler(BLOCKTYPE a_BlockID)
case E_BLOCK_GOLD_ORE:
case E_BLOCK_REDSTONE_ORE:
case E_BLOCK_REDSTONE_ORE_GLOWING:
- case E_BLOCK_EMERALD_ORE:
+ case (char)E_BLOCK_EMERALD_ORE:
case E_BLOCK_IRON_ORE:
case E_BLOCK_LAPIS_ORE:
case E_BLOCK_COAL_ORE:
diff --git a/source/blocks/BlockOre.h b/source/blocks/BlockOre.h
index 4788c9b89..1230f72e8 100644
--- a/source/blocks/BlockOre.h
+++ b/source/blocks/BlockOre.h
@@ -46,7 +46,7 @@ public:
case E_BLOCK_REDSTONE_ORE:
case E_BLOCK_REDSTONE_ORE_GLOWING:
return E_ITEM_REDSTONE_DUST;
- case E_BLOCK_EMERALD_ORE:
+ case (char)E_BLOCK_EMERALD_ORE:
return E_ITEM_EMERALD;
case E_BLOCK_LAPIS_ORE:
return E_ITEM_DYE;