From 32d836cb88db783c807c228fa2932ddecc1a8d07 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Thu, 9 Aug 2018 00:39:14 +0500 Subject: Implemented Creative Flight --- src/Entity.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Entity.hpp') diff --git a/src/Entity.hpp b/src/Entity.hpp index cc9f6fa..2b1a041 100644 --- a/src/Entity.hpp +++ b/src/Entity.hpp @@ -142,6 +142,7 @@ struct Entity { double terminalVelocity = 78.4; bool onGround = true; VectorF EyeOffset = VectorF(0,1.62,0); + bool isFlying = false; static VectorF DecodeVelocity(short x, short y, short z); static VectorF DecodeDeltaPos(short deltaX, short deltaY, short deltaZ); -- cgit v1.2.3