Adjust fix for Bug #2360 to repair affected savegames

openmw-35
scrawl 10 years ago
parent b542143e3a
commit 9dbd9af31c

@ -515,7 +515,7 @@ void MWMechanics::NpcStats::readState (const ESM::NpcStats& state)
mFactionRank[iter->first] = iter->second.mRank;
if (iter->second.mReputation)
mFactionReputation[iter->first] = iter->second.mReputation;
mFactionReputation[Misc::StringUtils::lowerCase(iter->first)] = iter->second.mReputation;
}
mDisposition = state.mDisposition;

Loading…
Cancel
Save