From 9ee47e59995f858ec531b3ee467f131594e4ba1f Mon Sep 17 00:00:00 2001 From: Mattes D Date: Mon, 13 Apr 2020 18:38:06 +0200 Subject: Using Super. --- src/UI/CraftingWindow.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/UI/CraftingWindow.h') diff --git a/src/UI/CraftingWindow.h b/src/UI/CraftingWindow.h index 01b2da73a..2412bfdd7 100644 --- a/src/UI/CraftingWindow.h +++ b/src/UI/CraftingWindow.h @@ -15,12 +15,13 @@ -class cCraftingWindow : +class cCraftingWindow: public cWindow { - typedef cWindow super; + using Super = cWindow; public: + cCraftingWindow(int a_BlockX, int a_BlockY, int a_BlockZ); virtual void DistributeStack(cItem & a_ItemStack, int a_Slot, cPlayer & a_Player, cSlotArea * a_ClickedArea, bool a_ShouldApply) override; -- cgit v1.2.3