Movement: Rename velocity to zspeed to better reflect its purpose.

This commit is contained in:
ratkosrb
2021-07-19 13:34:47 +03:00
parent c9befc3417
commit 800368121e
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -80,7 +80,7 @@ void MovementInfo::Read(ByteBuffer &data)
if (HasMovementFlag(MOVEFLAG_JUMPING))
{
data >> jump.velocity;
data >> jump.zspeed;
data >> jump.cosAngle;
data >> jump.sinAngle;
data >> jump.xyspeed;
@@ -161,7 +161,7 @@ void MovementInfo::Write(ByteBuffer &data) const
if (HasMovementFlag(MOVEFLAG_JUMPING))
{
data << jump.velocity;
data << jump.zspeed;
data << jump.cosAngle;
data << jump.sinAngle;
data << jump.xyspeed;