From cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a Mon Sep 17 00:00:00 2001 From: Alexander Harkness Date: Sat, 2 Nov 2024 21:27:47 +0000 Subject: Apply new clang-formatting --- src/Blocks/BlockLilypad.h | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) (limited to 'src/Blocks/BlockLilypad.h') diff --git a/src/Blocks/BlockLilypad.h b/src/Blocks/BlockLilypad.h index e39d34566..741fdf79f 100644 --- a/src/Blocks/BlockLilypad.h +++ b/src/Blocks/BlockLilypad.h @@ -7,17 +7,14 @@ -class cBlockLilypadHandler final : - public cClearMetaOnDrop +class cBlockLilypadHandler final : public cClearMetaOnDrop { using Super = cClearMetaOnDrop; -public: - + public: using Super::Super; -private: - + private: virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta) const override { UNUSED(a_Meta); @@ -39,12 +36,10 @@ private: NIBBLETYPE UnderMeta; a_Chunk.GetBlockTypeMeta(UnderPos, UnderType, UnderMeta); return ( - (((UnderType == E_BLOCK_STATIONARY_WATER) || (UnderType == E_BLOCK_WATER)) && (UnderMeta == 0)) || // A water source is below - (UnderType == E_BLOCK_ICE) || (UnderType == E_BLOCK_FROSTED_ICE) // Or (frosted) ice + (((UnderType == E_BLOCK_STATIONARY_WATER) || (UnderType == E_BLOCK_WATER)) && (UnderMeta == 0) + ) || // A water source is below + (UnderType == E_BLOCK_ICE) || + (UnderType == E_BLOCK_FROSTED_ICE) // Or (frosted) ice ); } }; - - - - -- cgit v1.2.3