1
0

Fixed wrong indent.

This commit is contained in:
Alexander Harkness 2015-05-30 11:22:49 +01:00
parent 97ee861c20
commit 28bab37425

View File

@ -162,7 +162,7 @@ bool cPath::IsSolid(const Vector3i & a_Location)
(BlockType == E_BLOCK_FENCE_GATE) || (BlockType == E_BLOCK_FENCE_GATE) ||
(BlockType == E_BLOCK_NETHER_BRICK_FENCE) || (BlockType == E_BLOCK_NETHER_BRICK_FENCE) ||
((BlockType >= E_BLOCK_SPRUCE_FENCE_GATE) && (BlockType <= E_BLOCK_ACACIA_FENCE)) ((BlockType >= E_BLOCK_SPRUCE_FENCE_GATE) && (BlockType <= E_BLOCK_ACACIA_FENCE))
) )
{ {
// TODO move this out of IsSolid to a proper place. // 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. 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.