diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-08-30 12:21:39 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-08-30 12:21:39 +0200 |
commit | 80bd0a54579cbe5188d42bf8e1e51724d19a6fcf (patch) | |
tree | 39ded239dea2d76854283a47b3f29cc12b8801e1 /src/Blocks/BlockAnvil.h | |
parent | Added speed entity effect. (diff) | |
parent | cChunk: Fixed the Coords param. (diff) | |
download | cuberite-80bd0a54579cbe5188d42bf8e1e51724d19a6fcf.tar cuberite-80bd0a54579cbe5188d42bf8e1e51724d19a6fcf.tar.gz cuberite-80bd0a54579cbe5188d42bf8e1e51724d19a6fcf.tar.bz2 cuberite-80bd0a54579cbe5188d42bf8e1e51724d19a6fcf.tar.lz cuberite-80bd0a54579cbe5188d42bf8e1e51724d19a6fcf.tar.xz cuberite-80bd0a54579cbe5188d42bf8e1e51724d19a6fcf.tar.zst cuberite-80bd0a54579cbe5188d42bf8e1e51724d19a6fcf.zip |
Diffstat (limited to '')
-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) |