From 365cbc6e1cea96741e26c9ce912b003f8fd2c62c Mon Sep 17 00:00:00 2001 From: Mattes D Date: Sun, 29 Sep 2019 14:59:24 +0200 Subject: Refactored more of Entities and BlockEntities to use Vector3. (#4403) --- src/Entities/FireworkEntity.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Entities/FireworkEntity.h') diff --git a/src/Entities/FireworkEntity.h b/src/Entities/FireworkEntity.h index 228960fb1..20689165f 100644 --- a/src/Entities/FireworkEntity.h +++ b/src/Entities/FireworkEntity.h @@ -20,15 +20,15 @@ class cFireworkEntity : public cProjectileEntity { - typedef cProjectileEntity super; + // tolua_end -public: + using super = cProjectileEntity; - // tolua_end +public: // tolua_export CLASS_PROTODEF(cFireworkEntity) - cFireworkEntity(cEntity * a_Creator, double a_X, double a_Y, double a_Z, const cItem & a_Item); + cFireworkEntity(cEntity * a_Creator, Vector3d a_Pos, const cItem & a_Item); // tolua_begin -- cgit v1.2.3