diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-02 20:49:14 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-02 20:49:14 +0200 |
commit | 5fc7592cba384f0bc89dca7f531f3e823224255b (patch) | |
tree | b6a5d04f0ce4b2ec949ccc144513d969af3fdd04 /src/Blocks/BlockMobHead.h | |
parent | Small tweak for mobs (diff) | |
parent | Suggestions two (diff) | |
download | cuberite-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.h | 2 |
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); |