mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-08 11:38:19 +03:00
Store previous items in the savegame
This commit is contained in:
parent
9fd2d57b86
commit
acd3cba5fa
5 changed files with 27 additions and 1 deletions
|
@ -34,6 +34,9 @@ namespace ESM
|
|||
StatState<int> mSaveAttributes[ESM::Attribute::Length];
|
||||
StatState<int> mSaveSkills[ESM::Skill::Length];
|
||||
|
||||
typedef std::map<std::string, std::string> PreviousItems; // previous equipped items, needed for bound spells
|
||||
PreviousItems mPreviousItems;
|
||||
|
||||
void load (ESMReader &esm);
|
||||
void save (ESMWriter &esm) const;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue