diff options
author | Mattes D <github@xoft.cz> | 2014-08-29 10:20:33 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-29 10:20:33 +0200 |
commit | 97c4c057e4e818562ae0a75520923196044ed55b (patch) | |
tree | 2ecd27dbfa7620e7ab35e57043bd29cfc35c8a0d /src | |
parent | Fixed spaces. (diff) | |
download | cuberite-97c4c057e4e818562ae0a75520923196044ed55b.tar cuberite-97c4c057e4e818562ae0a75520923196044ed55b.tar.gz cuberite-97c4c057e4e818562ae0a75520923196044ed55b.tar.bz2 cuberite-97c4c057e4e818562ae0a75520923196044ed55b.tar.lz cuberite-97c4c057e4e818562ae0a75520923196044ed55b.tar.xz cuberite-97c4c057e4e818562ae0a75520923196044ed55b.tar.zst cuberite-97c4c057e4e818562ae0a75520923196044ed55b.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/Blocks/BlockAnvil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockAnvil.h b/src/Blocks/BlockAnvil.h index 376bf86a3..20514580e 100644 --- a/src/Blocks/BlockAnvil.h +++ b/src/Blocks/BlockAnvil.h @@ -40,7 +40,7 @@ public: ) override { a_BlockType = m_BlockType; - NIBBLETYPE Meta = a_Player->GetEquippedItem().m_ItemDamage; + NIBBLETYPE Meta = (NIBBLETYPE)a_Player->GetEquippedItem().m_ItemDamage; int Direction = (int)floor(a_Player->GetYaw() * 4.0 / 360.0 + 1.5) & 0x3; switch (Direction) |