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/Entities/TNTEntity.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/Entities/TNTEntity.h') diff --git a/src/Entities/TNTEntity.h b/src/Entities/TNTEntity.h index 25c74ded5..ef8b8ec3c 100644 --- a/src/Entities/TNTEntity.h +++ b/src/Entities/TNTEntity.h @@ -7,13 +7,16 @@ // tolua_begin -class cTNTEntity : +class cTNTEntity: public cEntity { - typedef cEntity super; -public: // tolua_end + + using Super = cEntity; + +public: // tolua_export + CLASS_PROTODEF(cTNTEntity) cTNTEntity(Vector3d a_Pos, int a_FuseTicks = 80); -- cgit v1.2.3