Skip to content

Commit

Permalink
- Duke: Remove recently added interpolated weapon values from save co…
Browse files Browse the repository at this point in the history
…de and add to `player_struct::backupweapon()` instead.
  • Loading branch information
mjr4077au committed Jun 6, 2022
1 parent ee6abac commit 3948ec7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions source/games/duke/src/player.cpp
Expand Up @@ -792,6 +792,10 @@ void player_struct::backupweapon()
orandom_club_frame = random_club_frame;
ohard_landing = hard_landing;
ofistsign = fistsign;
otipincs = tipincs;
oknee_incs = knee_incs;
oaccess_incs = access_incs;
ofist_incs = fist_incs;
}

//---------------------------------------------------------------------------
Expand Down
3 changes: 0 additions & 3 deletions source/games/duke/src/savegame.cpp
Expand Up @@ -155,9 +155,7 @@ FSerializer& Serialize(FSerializer& arc, const char* keyname, player_struct& w,
("hbomb_hold_delay", w.hbomb_hold_delay)
("jumping_counter", w.jumping_counter)
("airleft", w.airleft)
("oknee_incs", w.oknee_incs)
("knee_incs", w.knee_incs)
("oaccess_incs", w.oaccess_incs)
("access_incs", w.access_incs)
("ftq", w.ftq)
("access_wallnum", w.access_wall)
Expand All @@ -172,7 +170,6 @@ FSerializer& Serialize(FSerializer& arc, const char* keyname, player_struct& w,
("one_parallax_sectnum", w.one_parallax_sectnum)
("over_shoulder_on", w.over_shoulder_on)
("random_club_frame", w.random_club_frame)
("ofist_incs", w.ofist_incs)
("fist_incs", w.fist_incs)
("dummyplayersprite", w.dummyplayersprite)
("extra_extra8", w.extra_extra8)
Expand Down

0 comments on commit 3948ec7

Please sign in to comment.