Changed 2 logs from WARNING to INFO

This commit is contained in:
m0nkrel 2022-09-24 13:36:55 +03:00
parent 543d02a56f
commit 956418a844

View File

@ -725,7 +725,7 @@ namespace cheat::feature
void InteractiveMap::CompletePoint(PointData* pointData) void InteractiveMap::CompletePoint(PointData* pointData)
{ {
std::lock_guard _userDataLock(m_UserDataMutex); std::lock_guard _userDataLock(m_UserDataMutex);
LOG_WARNING("Complete point at %.0f.", game::EntityManager::instance().avatar()->distance(pointData->levelPosition)); LOG_INFO("Complete point at %.0f.", game::EntityManager::instance().avatar()->distance(pointData->levelPosition));
if (std::find_if(m_CompletedPoints.begin(), m_CompletedPoints.end(), [=](PointData* data) { return pointData->id == data->id; }) != std::end(m_CompletedPoints)) if (std::find_if(m_CompletedPoints.begin(), m_CompletedPoints.end(), [=](PointData* data) { return pointData->id == data->id; }) != std::end(m_CompletedPoints))
return; return;
@ -958,7 +958,7 @@ namespace cheat::feature
auto nearestPoint = FindNearestPoint(label, entity->levelPosition(), f_GatheredItemsDetectRange, sceneID); auto nearestPoint = FindNearestPoint(label, entity->levelPosition(), f_GatheredItemsDetectRange, sceneID);
if (nearestPoint == nullptr) if (nearestPoint == nullptr)
{ {
LOG_WARNING("Failed to find uncompleted point for this object."); LOG_INFO("Failed to find uncompleted point for this object.");
return; return;
} }
CompletePoint(nearestPoint); CompletePoint(nearestPoint);