Store attributes and skills values as floats (bug #4021)

This commit is contained in:
Andrei Kortunov 2018-12-23 15:18:33 +04:00
parent 2eb9d4ad4e
commit 5468fcb29f
41 changed files with 153 additions and 124 deletions

View file

@ -31,8 +31,8 @@ namespace ESM
int mCurrentCrimeId;
int mPaidCrimeId;
StatState<int> mSaveAttributes[ESM::Attribute::Length];
StatState<int> mSaveSkills[ESM::Skill::Length];
StatState<float> mSaveAttributes[ESM::Attribute::Length];
StatState<float> mSaveSkills[ESM::Skill::Length];
typedef std::map<std::string, std::string> PreviousItems; // previous equipped items, needed for bound spells
PreviousItems mPreviousItems;