summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authordaniel0916 <theschokolps@gmail.com>2014-07-12 12:44:59 +0200
committerdaniel0916 <theschokolps@gmail.com>2014-07-12 12:44:59 +0200
commit68668d7a6eb3a989fc331f68fb660fff19b2f069 (patch)
tree95ea20b507e7605f4afa6ef5646a5b0c3307a8cc /src
parentChanges (diff)
downloadcuberite-68668d7a6eb3a989fc331f68fb660fff19b2f069.tar
cuberite-68668d7a6eb3a989fc331f68fb660fff19b2f069.tar.gz
cuberite-68668d7a6eb3a989fc331f68fb660fff19b2f069.tar.bz2
cuberite-68668d7a6eb3a989fc331f68fb660fff19b2f069.tar.lz
cuberite-68668d7a6eb3a989fc331f68fb660fff19b2f069.tar.xz
cuberite-68668d7a6eb3a989fc331f68fb660fff19b2f069.tar.zst
cuberite-68668d7a6eb3a989fc331f68fb660fff19b2f069.zip
Diffstat (limited to '')
-rw-r--r--src/Items/ItemBucket.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Items/ItemBucket.h b/src/Items/ItemBucket.h
index e7214d852..b3f008229 100644
--- a/src/Items/ItemBucket.h
+++ b/src/Items/ItemBucket.h
@@ -124,8 +124,7 @@ public:
}
// Wash away anything that was there prior to placing:
- bool CanWashAway = cFluidSimulator::CanWashAway(CurrentBlock);
- if (CanWashAway)
+ if (cFluidSimulator::CanWashAway(CurrentBlock))
{
cBlockHandler * Handler = BlockHandler(CurrentBlock);
if (Handler->DoesDropOnUnsuitable())
@@ -188,9 +187,9 @@ public:
a_BlockPos = Callbacks.m_Pos;
return true;
}
-
-
- bool GetPlacementCoordsFromTrace(cWorld * a_World, cPlayer * a_Player, Vector3i & a_BlockPos, BLOCKTYPE & a_BlockType)
+
+
+ bool GetPlacementCoordsFromTrace(cWorld * a_World, cPlayer * a_Player, Vector3i & a_BlockPos, BLOCKTYPE & a_BlockType)
{
class cCallbacks :
public cBlockTracer::cCallbacks