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/HangingEntity.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Entities/HangingEntity.h') diff --git a/src/Entities/HangingEntity.h b/src/Entities/HangingEntity.h index 35b0117b0..097ffeb0d 100644 --- a/src/Entities/HangingEntity.h +++ b/src/Entities/HangingEntity.h @@ -11,15 +11,15 @@ class cHangingEntity : public cEntity { - typedef cEntity super; + // tolua_end -public: + using super = cEntity; - // tolua_end +public: // tolua_export CLASS_PROTODEF(cHangingEntity) - cHangingEntity(eEntityType a_EntityType, eBlockFace a_BlockFace, double a_X, double a_Y, double a_Z); + cHangingEntity(eEntityType a_EntityType, eBlockFace a_BlockFace, Vector3d a_Pos); // tolua_begin -- cgit v1.2.3