NavBot.cpp: remove console spam on maps with no health kits

This commit is contained in:
Unnamed 2019-02-19 11:19:41 +00:00 committed by TotallyNotElite
parent e1cf066dad
commit 5570c2aeac

View File

@ -352,8 +352,6 @@ static bool getHealthAndAmmo()
continue;
healthpacks.push_back(ent->m_vecOrigin());
}
if (healthpacks.empty())
logging::Info("f");
std::sort(healthpacks.begin(), healthpacks.end(), [](Vector &a, Vector &b) { return g_pLocalPlayer->v_Origin.DistTo(a) < g_pLocalPlayer->v_Origin.DistTo(b); });
for (auto &pack : healthpacks)
{