1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-06 07:45:36 +00:00

Ignore 0 attributes on dead NPCs

This commit is contained in:
Evil Eye 2022-11-01 20:14:40 +01:00
parent 45e673564f
commit 45cd5bdbd7

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);