From fc9ef2fb7b9ac57979d74bbe786e2e14394f08a5 Mon Sep 17 00:00:00 2001 From: Chris Miles Date: Fri, 24 May 2024 20:54:01 -0500 Subject: [PATCH] [Mobs] Remove entity type checks from ScanCloseMobs (#4323) --- zone/entity.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/zone/entity.cpp b/zone/entity.cpp index 1ba6bd3ea..94464beb0 100644 --- a/zone/entity.cpp +++ b/zone/entity.cpp @@ -2954,11 +2954,6 @@ void EntityList::ScanCloseMobs( for (auto &e : mob_list) { auto mob = e.second; - - if (!mob->IsNPC() && !mob->IsClient() && !mob->IsBot() && !mob->IsMerc()) { - continue; - } - if (mob->GetID() <= 0) { continue; }