summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockMobHead.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-01 14:55:46 +0200
committermadmaxoft <github@xoft.cz>2014-04-01 14:58:17 +0200
commit42e30b6513c8f905d419dd6621ad11959eea9dc9 (patch)
treeb39128934b921247a36339194e9321688375a134 /src/Blocks/BlockMobHead.h
parentFixed clang warnings in cFile. (diff)
downloadcuberite-42e30b6513c8f905d419dd6621ad11959eea9dc9.tar
cuberite-42e30b6513c8f905d419dd6621ad11959eea9dc9.tar.gz
cuberite-42e30b6513c8f905d419dd6621ad11959eea9dc9.tar.bz2
cuberite-42e30b6513c8f905d419dd6621ad11959eea9dc9.tar.lz
cuberite-42e30b6513c8f905d419dd6621ad11959eea9dc9.tar.xz
cuberite-42e30b6513c8f905d419dd6621ad11959eea9dc9.tar.zst
cuberite-42e30b6513c8f905d419dd6621ad11959eea9dc9.zip
Diffstat (limited to 'src/Blocks/BlockMobHead.h')
-rw-r--r--src/Blocks/BlockMobHead.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockMobHead.h b/src/Blocks/BlockMobHead.h
index 080843a73..c4f41ba34 100644
--- a/src/Blocks/BlockMobHead.h
+++ b/src/Blocks/BlockMobHead.h
@@ -70,7 +70,7 @@ public:
};
cCallback Callback(a_Player, a_BlockMeta, static_cast<NIBBLETYPE>(a_BlockFace));
- a_BlockMeta = a_BlockFace;
+ a_BlockMeta = (NIBBLETYPE)a_BlockFace;
cWorld * World = (cWorld *) &a_WorldInterface;
World->DoWithMobHeadAt(a_BlockX, a_BlockY, a_BlockZ, Callback);
a_ChunkInterface.SetBlockMeta(a_BlockX, a_BlockY, a_BlockZ, a_BlockMeta);