[Client] Don't set difficulty based on client settings

0.6.1
David Cernat 8 years ago
parent 70d9374a6a
commit 1ae5bd19e1

@ -15,6 +15,16 @@ float scaleDamage(float damage, const MWWorld::Ptr& attacker, const MWWorld::Ptr
// [-100, 100]
int difficultySetting = Settings::Manager::getInt("difficulty", "Game");
/*
Start of tes3mp change (major)
Don't set difficulty based on client settings
*/
difficultySetting = 0;
/*
End of tes3mp change (major)
*/
static const float fDifficultyMult = MWBase::Environment::get().getWorld()->getStore().get<ESM::GameSetting>().find("fDifficultyMult")->getFloat();
float difficultyTerm = 0.01f * difficultySetting;

Loading…
Cancel
Save