1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-04-15 14:42:35 +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);