diff --git a/light/entities.cc b/light/entities.cc index 8ef924ba..4bbc3d25 100644 --- a/light/entities.cc +++ b/light/entities.cc @@ -142,11 +142,9 @@ MatchTargets(void) if (!targetstr.length()) continue; - bool found = false; for (const entdict_t &target : entdicts) { if (targetstr == EntDict_StringForKey(target, "targetname")) { entity.targetent = ⌖ - found = true; break; } }