From 416fedf7ddaea02274b925325342c2ad66d7eaa0 Mon Sep 17 00:00:00 2001 From: LightCat Date: Sat, 18 Aug 2018 15:02:10 +0200 Subject: [PATCH] don't have to local center --- src/hacks/NavBot.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hacks/NavBot.cpp b/src/hacks/NavBot.cpp index 9b7c84a7..a4f44af8 100644 --- a/src/hacks/NavBot.cpp +++ b/src/hacks/NavBot.cpp @@ -184,7 +184,7 @@ void CreateMove() int rng = rand() % sniper_spots.size(); random_spot = sniper_spots.at(rng); if (random_spot.z) - nav::NavTo(random_spot); + nav::NavTo(random_spot, false); } else { @@ -201,10 +201,10 @@ void CreateMove() int rng = rand() % sniper_spots.size(); random_spot = sniper_spots.at(rng); if (random_spot.z) - nav::NavTo(random_spot); + nav::NavTo(random_spot, false); return; } - nav::NavTo(tar->m_vecOrigin()); + nav::NavTo(tar->m_vecOrigin(), false); } } }