summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockMobHead.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-02 20:49:14 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-02 20:49:14 +0200
commit5fc7592cba384f0bc89dca7f531f3e823224255b (patch)
treeb6a5d04f0ce4b2ec949ccc144513d969af3fdd04 /src/Blocks/BlockMobHead.h
parentSmall tweak for mobs (diff)
parentSuggestions two (diff)
downloadcuberite-5fc7592cba384f0bc89dca7f531f3e823224255b.tar
cuberite-5fc7592cba384f0bc89dca7f531f3e823224255b.tar.gz
cuberite-5fc7592cba384f0bc89dca7f531f3e823224255b.tar.bz2
cuberite-5fc7592cba384f0bc89dca7f531f3e823224255b.tar.lz
cuberite-5fc7592cba384f0bc89dca7f531f3e823224255b.tar.xz
cuberite-5fc7592cba384f0bc89dca7f531f3e823224255b.tar.zst
cuberite-5fc7592cba384f0bc89dca7f531f3e823224255b.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);