Skip to content

Commit

Permalink
Assign to olds#2 properly
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlaux committed Jan 6, 2025
1 parent 7064a8e commit b028290
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/p_saveg.c
Original file line number Diff line number Diff line change
Expand Up @@ -761,16 +761,19 @@ static void saveg_read_pspdef_t(pspdef_t *str)
if (saveg_compat > saveg_mbf)
{
// [Woof!]: fixed_t sx2;
str->sx2 = str->oldsx2 = saveg_read32();
str->sx2 = saveg_read32();

// [Woof!]: fixed_t sy2;
str->sy2 = str->oldsy2 = saveg_read32();
str->sy2 = saveg_read32();
}
else
{
str->sx2 = str->sx;
str->sy2 = str->sy;
}

str->oldsx2 = str->sx2;
str->oldsy2 = str->sy2;
}

static void saveg_write_pspdef_t(pspdef_t *str)
Expand Down

0 comments on commit b028290

Please sign in to comment.