diff --git a/source/games/sw/src/game.h b/source/games/sw/src/game.h index 6853ef493..ec2193112 100644 --- a/source/games/sw/src/game.h +++ b/source/games/sw/src/game.h @@ -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; diff --git a/source/games/sw/src/player.cpp b/source/games/sw/src/player.cpp index 2094b782a..51abbbaef 100644 --- a/source/games/sw/src/player.cpp +++ b/source/games/sw/src/player.cpp @@ -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) diff --git a/source/games/sw/src/save.cpp b/source/games/sw/src/save.cpp index 4da461949..b6399f176 100644 --- a/source/games/sw/src/save.cpp +++ b/source/games/sw/src/save.cpp @@ -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; diff --git a/wadsrc/static/zscript/games/sw/swgame.zs b/wadsrc/static/zscript/games/sw/swgame.zs index 990983b21..a3a526ddd 100644 --- a/wadsrc/static/zscript/games/sw/swgame.zs +++ b/wadsrc/static/zscript/games/sw/swgame.zs @@ -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;