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/ThrownEggEntity.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Entities/ThrownEggEntity.h') diff --git a/src/Entities/ThrownEggEntity.h b/src/Entities/ThrownEggEntity.h index 071b974cb..d49153d49 100644 --- a/src/Entities/ThrownEggEntity.h +++ b/src/Entities/ThrownEggEntity.h @@ -20,15 +20,15 @@ class cThrownEggEntity : public cProjectileEntity { - typedef cProjectileEntity super; + // tolua_end -public: + using super = cProjectileEntity; - // tolua_end +public: // tolua_export CLASS_PROTODEF(cThrownEggEntity) - cThrownEggEntity(cEntity * a_Creator, double a_X, double a_Y, double a_Z, const Vector3d & a_Speed); + cThrownEggEntity(cEntity * a_Creator, Vector3d a_Pos, Vector3d a_Speed); protected: -- cgit v1.2.3