don't have to local center

This commit is contained in:
LightCat 2018-08-18 15:02:10 +02:00
parent e559114506
commit 416fedf7dd

View File

@ -184,7 +184,7 @@ void CreateMove()
int rng = rand() % sniper_spots.size(); int rng = rand() % sniper_spots.size();
random_spot = sniper_spots.at(rng); random_spot = sniper_spots.at(rng);
if (random_spot.z) if (random_spot.z)
nav::NavTo(random_spot); nav::NavTo(random_spot, false);
} }
else else
{ {
@ -201,10 +201,10 @@ void CreateMove()
int rng = rand() % sniper_spots.size(); int rng = rand() % sniper_spots.size();
random_spot = sniper_spots.at(rng); random_spot = sniper_spots.at(rng);
if (random_spot.z) if (random_spot.z)
nav::NavTo(random_spot); nav::NavTo(random_spot, false);
return; return;
} }
nav::NavTo(tar->m_vecOrigin()); nav::NavTo(tar->m_vecOrigin(), false);
} }
} }
} }