- removed unused oz_speed member variable.

This commit is contained in:
Christoph Oelckers 2022-08-21 13:17:23 +02:00
parent 209867e036
commit 30b620c700
4 changed files with 2 additions and 4 deletions

View file

@ -622,7 +622,7 @@ struct PLAYER
int jump_count, jump_speed; // jumping
int16_t down_speed, up_speed; // diving
int z_speed,oz_speed; // used for diving and flying instead of down_speed, up_speed
int z_speed; // used for diving and flying instead of down_speed, up_speed
int climb_ndx;
int hiz,loz;
int ceiling_dist,floor_dist;

View file

@ -7044,7 +7044,6 @@ DEFINE_FIELD_X(SWPlayer, PLAYER, jump_speed)
DEFINE_FIELD_X(SWPlayer, PLAYER, down_speed)
DEFINE_FIELD_X(SWPlayer, PLAYER, up_speed)
DEFINE_FIELD_X(SWPlayer, PLAYER, z_speed)
DEFINE_FIELD_X(SWPlayer, PLAYER, oz_speed)
DEFINE_FIELD_X(SWPlayer, PLAYER, climb_ndx)
DEFINE_FIELD_X(SWPlayer, PLAYER, hiz)
DEFINE_FIELD_X(SWPlayer, PLAYER, loz)

View file

@ -581,7 +581,6 @@ FSerializer& Serialize(FSerializer& arc, const char* keyname, PLAYER& w, PLAYER*
if (arc.isReading())
{
w.opos = w.pos;
w.oz_speed = w.z_speed;
w.ovect.X = w.vect.X;
w.ovect.Y = w.vect.Y;
w.obob_z = w.bob_z;

View file

@ -189,7 +189,7 @@ struct SWPlayer native
native int jump_count, jump_speed; // jumping
native int16 down_speed, up_speed; // diving
native int z_speed,oz_speed; // used for diving and flying instead of down_speed, up_speed
native int z_speed; // used for diving and flying instead of down_speed, up_speed
native int climb_ndx;
native int hiz,loz;
native int ceiling_dist,floor_dist;