From a1bfc8911846ccd9e4aaf36ee7759ab73d5d9844 Mon Sep 17 00:00:00 2001 From: STRWarrior Date: Tue, 17 Dec 2013 20:02:44 +0100 Subject: Renamed Pos to m_Pos. --- src/Items/ItemBucket.h | 6 +++--- 1 file 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; } -- cgit v1.2.3