diff options
Diffstat (limited to 'src/Blocks/BlockFluid.h')
-rw-r--r-- | src/Blocks/BlockFluid.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/Blocks/BlockFluid.h b/src/Blocks/BlockFluid.h index 430940df0..36f363a92 100644 --- a/src/Blocks/BlockFluid.h +++ b/src/Blocks/BlockFluid.h @@ -7,14 +7,15 @@ -class cBlockFluidHandler : +class cBlockFluidHandler: public cBlockHandler { - typedef cBlockHandler super; + using Super = cBlockHandler; public: - cBlockFluidHandler(BLOCKTYPE a_BlockType) - : cBlockHandler(a_BlockType) + + cBlockFluidHandler(BLOCKTYPE a_BlockType): + Super(a_BlockType) { } @@ -61,7 +62,7 @@ public: break; } } - super::Check(a_ChunkInterface, a_PluginInterface, a_RelPos, a_Chunk); + Super::Check(a_ChunkInterface, a_PluginInterface, a_RelPos, a_Chunk); } @@ -96,14 +97,15 @@ public: -class cBlockLavaHandler : +class cBlockLavaHandler: public cBlockFluidHandler { - typedef cBlockFluidHandler super; + using Super = cBlockFluidHandler; + public: - cBlockLavaHandler(BLOCKTYPE a_BlockType) : - super(a_BlockType) + cBlockLavaHandler(BLOCKTYPE a_BlockType): + Super(a_BlockType) { } |