summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authortycho <work.tycho@gmail.com>2015-05-30 14:34:08 +0200
committertycho <work.tycho@gmail.com>2015-05-30 14:34:08 +0200
commit9b798ff9dd5a9c93f39ce7c4dc51332f7a986a24 (patch)
treeb27e54002c85af83de8d5a573fe4cba0b3ab456b /src
parentFixed minor cast warning (diff)
parentUpdated MagicCarpet submodule. Fixes #2155 (diff)
downloadcuberite-9b798ff9dd5a9c93f39ce7c4dc51332f7a986a24.tar
cuberite-9b798ff9dd5a9c93f39ce7c4dc51332f7a986a24.tar.gz
cuberite-9b798ff9dd5a9c93f39ce7c4dc51332f7a986a24.tar.bz2
cuberite-9b798ff9dd5a9c93f39ce7c4dc51332f7a986a24.tar.lz
cuberite-9b798ff9dd5a9c93f39ce7c4dc51332f7a986a24.tar.xz
cuberite-9b798ff9dd5a9c93f39ce7c4dc51332f7a986a24.tar.zst
cuberite-9b798ff9dd5a9c93f39ce7c4dc51332f7a986a24.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Path.cpp b/src/Mobs/Path.cpp
index f6660907c..e987381f7 100644
--- a/src/Mobs/Path.cpp
+++ b/src/Mobs/Path.cpp
@@ -162,7 +162,7 @@ bool cPath::IsSolid(const Vector3i & a_Location)
(BlockType == E_BLOCK_FENCE_GATE) ||
(BlockType == E_BLOCK_NETHER_BRICK_FENCE) ||
((BlockType >= E_BLOCK_SPRUCE_FENCE_GATE) && (BlockType <= E_BLOCK_ACACIA_FENCE))
- )
+ )
{
// TODO move this out of IsSolid to a proper place.
GetCell(a_Location + Vector3i(0, 1, 0))->m_IsSolid = true; // Mobs will always think that the fence is 2 blocks high and therefore won't jump over.