1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-03 19:36:41 +00:00

Merge branch 'shutup_no_one_cares' into 'master'

Ignore 0 attributes on dead NPCs

See merge request OpenMW/openmw!2490
This commit is contained in:
psi29a 2022-11-02 08:19:37 +00:00
commit fd176d6faf

View file

@ -661,7 +661,7 @@ void CSMTools::ReferenceableCheckStage::npcCheck(
return;
}
}
else
else if (npc.mNpdt.mHealth != 0)
{
if (npc.mNpdt.mStrength == 0)
messages.add(id, "Strength is equal to zero", "", CSMDoc::Message::Severity_Warning);