diff options
author | tycho <work.tycho@gmail.com> | 2015-05-30 14:34:08 +0200 |
---|---|---|
committer | tycho <work.tycho@gmail.com> | 2015-05-30 14:34:08 +0200 |
commit | 9b798ff9dd5a9c93f39ce7c4dc51332f7a986a24 (patch) | |
tree | b27e54002c85af83de8d5a573fe4cba0b3ab456b /src/Mobs/Path.cpp | |
parent | Fixed minor cast warning (diff) | |
parent | Updated MagicCarpet submodule. Fixes #2155 (diff) | |
download | cuberite-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.cpp | 2 |
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. |