- Exhumed: save the status variables to savegames again.

Since this status bar depends on explicit updates, this data needs to be restored after loading, and just saving it out is the easiest way to ensure that.
Fixes #274
Fixes #276
This commit is contained in:
Christoph Oelckers 2020-08-30 21:16:37 +02:00
parent a9bf1ab4bc
commit 26f6bac060

View file

@ -897,7 +897,6 @@ void DrawStatusBar()
} }
#if 0
// I'm not sure this really needs to be saved. // I'm not sure this really needs to be saved.
static SavegameHelper sgh("status", static SavegameHelper sgh("status",
SV(nMaskY), SV(nMaskY),
@ -935,7 +934,8 @@ static SavegameHelper sgh("status",
SA(StatusAnimsFree), SA(StatusAnimsFree),
SA(StatusAnimFlags), SA(StatusAnimFlags),
SA(nItemSeqOffset), SA(nItemSeqOffset),
SA(word_9AD54),
SA(dword_9AD64),
nullptr); nullptr);
#endif
END_PS_NS END_PS_NS