1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-29 22:20:33 +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);