summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemBucket.h
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2013-12-17 20:02:44 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2013-12-17 20:02:44 +0100
commita1bfc8911846ccd9e4aaf36ee7759ab73d5d9844 (patch)
treed84f1c17cf816164b1bc0a6f6a16415ff919e19b /src/Items/ItemBucket.h
parentUsing Recommendations. (diff)
downloadcuberite-a1bfc8911846ccd9e4aaf36ee7759ab73d5d9844.tar
cuberite-a1bfc8911846ccd9e4aaf36ee7759ab73d5d9844.tar.gz
cuberite-a1bfc8911846ccd9e4aaf36ee7759ab73d5d9844.tar.bz2
cuberite-a1bfc8911846ccd9e4aaf36ee7759ab73d5d9844.tar.lz
cuberite-a1bfc8911846ccd9e4aaf36ee7759ab73d5d9844.tar.xz
cuberite-a1bfc8911846ccd9e4aaf36ee7759ab73d5d9844.tar.zst
cuberite-a1bfc8911846ccd9e4aaf36ee7759ab73d5d9844.zip
Diffstat (limited to '')
-rw-r--r--src/Items/ItemBucket.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Items/ItemBucket.h b/src/Items/ItemBucket.h
index 4cddd64d8..4f55db7f8 100644
--- a/src/Items/ItemBucket.h
+++ b/src/Items/ItemBucket.h
@@ -157,7 +157,7 @@ public:
public cBlockTracer::cCallbacks
{
public:
- Vector3d Pos;
+ Vector3i m_Pos;
bool HitFluid;
virtual bool OnNextBlock(int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, char a_EntryFace) override
{
@@ -168,7 +168,7 @@ public:
if (IsBlockWater(a_BlockType) || IsBlockLava(a_BlockType))
{
HitFluid = true;
- Pos = Vector3d(a_BlockX, a_BlockY, a_BlockZ);
+ m_Pos = Vector3d(a_BlockX, a_BlockY, a_BlockZ);
return true;
}
return false;
@@ -187,7 +187,7 @@ public:
}
- BlockPos.Set((int) Callbacks.Pos.x, (int) Callbacks.Pos.y, (int) Callbacks.Pos.z);
+ BlockPos.Set(Callbacks.m_Pos.x, Callbacks.m_Pos.y, Callbacks.m_Pos.z);
return true;
}