From 45cd5bdbd749319a44691e6d3315c6216024395c Mon Sep 17 00:00:00 2001 From: Evil Eye Date: Tue, 1 Nov 2022 20:14:40 +0100 Subject: [PATCH] Ignore 0 attributes on dead NPCs --- apps/opencs/model/tools/referenceablecheck.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/opencs/model/tools/referenceablecheck.cpp b/apps/opencs/model/tools/referenceablecheck.cpp index d95357bc5a..1a113c01c2 100644 --- a/apps/opencs/model/tools/referenceablecheck.cpp +++ b/apps/opencs/model/tools/referenceablecheck.cpp @@ -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);