summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-08-29 10:20:33 +0200
committerMattes D <github@xoft.cz>2014-08-29 10:20:33 +0200
commit97c4c057e4e818562ae0a75520923196044ed55b (patch)
tree2ecd27dbfa7620e7ab35e57043bd29cfc35c8a0d
parentFixed spaces. (diff)
downloadcuberite-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
-rw-r--r--src/Blocks/BlockAnvil.h2
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)