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/Generating/DungeonRoomsFinisher.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/Generating/DungeonRoomsFinisher.h') diff --git a/src/Generating/DungeonRoomsFinisher.h b/src/Generating/DungeonRoomsFinisher.h index e5828f989..72ac5cb51 100644 --- a/src/Generating/DungeonRoomsFinisher.h +++ b/src/Generating/DungeonRoomsFinisher.h @@ -16,12 +16,13 @@ -class cDungeonRoomsFinisher : +class cDungeonRoomsFinisher: public cGridStructGen { - typedef cGridStructGen super; + using Super = cGridStructGen; public: + /** Creates a new dungeon room finisher. a_ShapeGen is the underlying terrain shape generator, so that the rooms can always be placed under the terrain. a_MaxSize and a_MinSize are the maximum and minimum sizes of the room's internal (air) area, in blocks across. -- cgit v1.2.3