diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-06 12:36:20 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-06 12:36:20 +0200 |
commit | 323612e5c0bb5e6f7bf680c14f0340a71ee8c977 (patch) | |
tree | 622ea91585602089968f0cdecd1255d27e7f4183 /source/items/ItemPickaxe.h | |
parent | GNUmakefile: Split the debug build into debug and pedantic; more comments; added O3 optimization to external C libraries even in debug mode (diff) | |
download | cuberite-323612e5c0bb5e6f7bf680c14f0340a71ee8c977.tar cuberite-323612e5c0bb5e6f7bf680c14f0340a71ee8c977.tar.gz cuberite-323612e5c0bb5e6f7bf680c14f0340a71ee8c977.tar.bz2 cuberite-323612e5c0bb5e6f7bf680c14f0340a71ee8c977.tar.lz cuberite-323612e5c0bb5e6f7bf680c14f0340a71ee8c977.tar.xz cuberite-323612e5c0bb5e6f7bf680c14f0340a71ee8c977.tar.zst cuberite-323612e5c0bb5e6f7bf680c14f0340a71ee8c977.zip |
Diffstat (limited to 'source/items/ItemPickaxe.h')
-rw-r--r-- | source/items/ItemPickaxe.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/items/ItemPickaxe.h b/source/items/ItemPickaxe.h index f1800c7be..a179d154f 100644 --- a/source/items/ItemPickaxe.h +++ b/source/items/ItemPickaxe.h @@ -42,7 +42,7 @@ public: case E_BLOCK_GOLD_ORE:
case E_BLOCK_REDSTONE_ORE:
case E_BLOCK_REDSTONE_ORE_GLOWING:
- case (char)E_BLOCK_EMERALD_ORE:
+ case E_BLOCK_EMERALD_ORE:
return PickaxeLevel() >= 3;
case E_BLOCK_IRON_BLOCK:
case E_BLOCK_IRON_ORE:
@@ -54,7 +54,7 @@ public: case E_BLOCK_COBBLESTONE:
case E_BLOCK_END_STONE:
case E_BLOCK_MOSSY_COBBLESTONE:
- case (char)E_BLOCK_SANDSTONE_STAIRS:
+ case E_BLOCK_SANDSTONE_STAIRS:
case E_BLOCK_SANDSTONE:
case E_BLOCK_STONE_BRICKS:
case E_BLOCK_NETHER_BRICK:
|