diff options
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/BlockSideways.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockSideways.h b/src/Blocks/BlockSideways.h index e52fbaa2f..c3fa5b3da 100644 --- a/src/Blocks/BlockSideways.h +++ b/src/Blocks/BlockSideways.h @@ -24,7 +24,7 @@ public: ) override { a_BlockType = m_BlockType; - NIBBLETYPE Meta = (NIBBLETYPE)(a_Player->GetEquippedItem().m_ItemDamage); + NIBBLETYPE Meta = static_cast<NIBBLETYPE>(a_Player->GetEquippedItem().m_ItemDamage); a_BlockMeta = BlockFaceToMetaData(a_BlockFace, Meta); return true; } |