Fix merge conflicts

This commit is contained in:
BenCat07 2018-07-18 22:15:00 +02:00
parent d57a8c6a39
commit 29d4316c83
2 changed files with 0 additions and 25 deletions

View File

@ -161,13 +161,8 @@ void Run()
float bestFOV = 180.0f;
float distance, prev_distance_ticks = 9999;
<<<<<<< Updated upstream
for (int i = 0; i < 12; ++i)
sorted_ticks[i] = BestTickData{INT_MAX, i};
=======
for (int i = 0; i < 12; ++i)
sorted_ticks[i] = BestTickData{ FLT_MAX, i };
>>>>>>> Stashed changes
for (int t = 0; t < ticks; ++t)
{
if (headPositions[iBestTarget][t].tickcount)

View File

@ -203,15 +203,7 @@ void WorldTick()
// future target is visible from
if (!indirectOrigin.z) // if we couldn't find it, exit
continue;
<<<<<<< Updated upstream
addCrumbs(entity, indirectOrigin);
=======
breadcrumbs.clear(); // we need to ensure that the breadcrumbs
// std::vector is empty
breadcrumbs.push_back(indirectOrigin); // add the corner
// location to the
// breadcrumb list
>>>>>>> Stashed changes
}
else
{
@ -295,18 +287,6 @@ void WorldTick()
if (!VisCheckEntFromEnt(LOCAL_E, entity))
continue;
}
<<<<<<< Updated upstream
=======
// favor closer entitys
if (follow_target &&
ENTITY(follow_target)->m_flDistance() >
entity->m_flDistance()) // favor closer entitys
{
if (ClassPriority(ENTITY(follow_target)) >
ClassPriority(entity))
continue;
}
>>>>>>> Stashed changes
// ooooo, a target
follow_target = i;