summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockMobHead.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-06-03 19:02:40 +0200
committerMattes D <github@xoft.cz>2014-06-03 19:02:40 +0200
commit0c5492946b84aefe4f5d366d14de0ceb5e97b189 (patch)
tree37c13749e6050794ada0a1e1d42c9d998f3c8040 /src/Blocks/BlockMobHead.h
parentdocs/Generator: Shrunk the hand-drawn images by 50 %. (diff)
parentMerge remote-tracking branch 'origin/pistonfixes' (diff)
downloadcuberite-0c5492946b84aefe4f5d366d14de0ceb5e97b189.tar
cuberite-0c5492946b84aefe4f5d366d14de0ceb5e97b189.tar.gz
cuberite-0c5492946b84aefe4f5d366d14de0ceb5e97b189.tar.bz2
cuberite-0c5492946b84aefe4f5d366d14de0ceb5e97b189.tar.lz
cuberite-0c5492946b84aefe4f5d366d14de0ceb5e97b189.tar.xz
cuberite-0c5492946b84aefe4f5d366d14de0ceb5e97b189.tar.zst
cuberite-0c5492946b84aefe4f5d366d14de0ceb5e97b189.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 b7629b07c..9855574ad 100644
--- a/src/Blocks/BlockMobHead.h
+++ b/src/Blocks/BlockMobHead.h
@@ -68,7 +68,7 @@ public:
public:
cPlayerCallback(const Vector3f & a_Pos) : m_Pos(a_Pos) {}
- } PlayerCallback(Vector3f(a_BlockX, a_BlockY, a_BlockZ));
+ } PlayerCallback(Vector3f((float)a_BlockX, (float)a_BlockY, (float)a_BlockZ));
a_World->DoWithMobHeadAt(a_BlockX, a_BlockY, a_BlockZ, CallbackA);