mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-13 20:09:40 +00:00
Fix up the merge a bit
This commit is contained in:
parent
fefaec5804
commit
aba72ffefe
1 changed files with 12 additions and 12 deletions
|
@ -797,6 +797,10 @@ namespace MWMechanics
|
|||
}
|
||||
}
|
||||
|
||||
if (iter->second->kill())
|
||||
{
|
||||
++mDeathCount[cls.getId(iter->first)];
|
||||
|
||||
// Apply soultrap
|
||||
if (iter->first.getTypeName() == typeid(ESM::Creature).name())
|
||||
{
|
||||
|
@ -809,10 +813,6 @@ namespace MWMechanics
|
|||
stats.setMagicEffects(MWMechanics::MagicEffects());
|
||||
calculateCreatureStatModifiers(iter->first, 0);
|
||||
|
||||
if (iter->second->kill())
|
||||
{
|
||||
++mDeathCount[cls.getId(iter->first)];
|
||||
|
||||
if(cls.isEssential(iter->first))
|
||||
MWBase::Environment::get().getWindowManager()->messageBox("#{sKilledEssential}");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue