Display Race record height/weight as a float

pull/3094/head
Benjamin Winger 4 years ago
parent f1f1703441
commit 41cfcfdc0f
No known key found for this signature in database
GPG Key ID: 22E22BE7466677FC

@ -13,9 +13,9 @@ namespace ESM
return male ? mMale : mFemale;
}
int Race::MaleFemaleF::getValue (bool male) const
float Race::MaleFemaleF::getValue (bool male) const
{
return static_cast<int>(male ? mMale : mFemale);
return male ? mMale : mFemale;
}
void Race::load(ESMReader &esm, bool &isDeleted)

@ -38,7 +38,7 @@ struct Race
{
float mMale, mFemale;
int getValue (bool male) const;
float getValue (bool male) const;
};
enum Flags

Loading…
Cancel
Save