diff options
author | madmaxoft <github@xoft.cz> | 2014-07-17 22:15:34 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-17 22:15:34 +0200 |
commit | 2423fbf2efa39e28cc348acc11b9269e573dcdef (patch) | |
tree | ce58732c3d16aeef3e68e2c3bdcb372199605312 /src/Blocks/BlockQuartz.h | |
parent | Fixed spaces around single-line comments. (diff) | |
download | cuberite-2423fbf2efa39e28cc348acc11b9269e573dcdef.tar cuberite-2423fbf2efa39e28cc348acc11b9269e573dcdef.tar.gz cuberite-2423fbf2efa39e28cc348acc11b9269e573dcdef.tar.bz2 cuberite-2423fbf2efa39e28cc348acc11b9269e573dcdef.tar.lz cuberite-2423fbf2efa39e28cc348acc11b9269e573dcdef.tar.xz cuberite-2423fbf2efa39e28cc348acc11b9269e573dcdef.tar.zst cuberite-2423fbf2efa39e28cc348acc11b9269e573dcdef.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/BlockQuartz.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Blocks/BlockQuartz.h b/src/Blocks/BlockQuartz.h index 9cc51490f..1b1f6f9f0 100644 --- a/src/Blocks/BlockQuartz.h +++ b/src/Blocks/BlockQuartz.h @@ -25,7 +25,7 @@ public: { a_BlockType = m_BlockType; NIBBLETYPE Meta = (NIBBLETYPE)(a_Player->GetEquippedItem().m_ItemDamage); - if (Meta != E_META_QUARTZ_PILLAR) // Check if the block is a pillar block. + if (Meta != E_META_QUARTZ_PILLAR) // Check if the block is a pillar block. { a_BlockMeta = Meta; return true; @@ -42,25 +42,25 @@ public: case BLOCK_FACE_YM: case BLOCK_FACE_YP: { - return a_QuartzMeta; // Top or bottom, just return original + return a_QuartzMeta; // Top or bottom, just return original } case BLOCK_FACE_ZP: case BLOCK_FACE_ZM: { - return 0x4; // North or south + return 0x4; // North or south } case BLOCK_FACE_XP: case BLOCK_FACE_XM: { - return 0x3; // East or west + return 0x3; // East or west } default: { ASSERT(!"Unhandled block face!"); - return a_QuartzMeta; // No idea, give a special meta (all sides the same) + return a_QuartzMeta; // No idea, give a special meta (all sides the same) } } } |