mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-27 12:40:25 +00:00
Modified actors.cpp and Authors.md
This commit is contained in:
parent
0d1c073cfa
commit
e42b67ee50
2 changed files with 2 additions and 1 deletions
|
@ -215,6 +215,7 @@ Programmers
|
||||||
Yohaulticetl
|
Yohaulticetl
|
||||||
Yuri Krupenin
|
Yuri Krupenin
|
||||||
zelurker
|
zelurker
|
||||||
|
Noah Gooder
|
||||||
|
|
||||||
Documentation
|
Documentation
|
||||||
-------------
|
-------------
|
||||||
|
|
|
@ -951,7 +951,7 @@ namespace MWMechanics
|
||||||
if (actor.getClass().hasInventoryStore(actor))
|
if (actor.getClass().hasInventoryStore(actor))
|
||||||
actor.getClass().getInventoryStore(actor).purgeEffect(ESM::MagicEffect::Poison);
|
actor.getClass().getInventoryStore(actor).purgeEffect(ESM::MagicEffect::Poison);
|
||||||
}
|
}
|
||||||
else if (effects.get(ESM::MagicEffect::CureParalyzation).getModifier() > 0)
|
if (effects.get(ESM::MagicEffect::CureParalyzation).getModifier() > 0)
|
||||||
{
|
{
|
||||||
creatureStats.getActiveSpells().purgeEffect(ESM::MagicEffect::Paralyze);
|
creatureStats.getActiveSpells().purgeEffect(ESM::MagicEffect::Paralyze);
|
||||||
creatureStats.getSpells().purgeEffect(ESM::MagicEffect::Paralyze);
|
creatureStats.getSpells().purgeEffect(ESM::MagicEffect::Paralyze);
|
||||||
|
|
Loading…
Reference in a new issue