forked from teamnwah/openmw-tes3coop
[Client] Don't set difficulty based on client settings
This commit is contained in:
parent
70d9374a6a
commit
1ae5bd19e1
1 changed files with 10 additions and 0 deletions
|
@ -15,6 +15,16 @@ float scaleDamage(float damage, const MWWorld::Ptr& attacker, const MWWorld::Ptr
|
||||||
// [-100, 100]
|
// [-100, 100]
|
||||||
int difficultySetting = Settings::Manager::getInt("difficulty", "Game");
|
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();
|
static const float fDifficultyMult = MWBase::Environment::get().getWorld()->getStore().get<ESM::GameSetting>().find("fDifficultyMult")->getFloat();
|
||||||
|
|
||||||
float difficultyTerm = 0.01f * difficultySetting;
|
float difficultyTerm = 0.01f * difficultySetting;
|
||||||
|
|
Loading…
Reference in a new issue