fix remote vehicle movement

This commit is contained in:
ineedbots 2021-08-10 11:57:53 -06:00
parent 04fb981315
commit f435b95b3f

View File

@ -2270,7 +2270,7 @@ movetowards( goal )
else else
tempGoalDist = level.bots_goalDistance; tempGoalDist = level.bots_goalDistance;
while ( distanceSquared( self.origin, goal ) > tempGoalDist ) while ( distanceSquared( self.bot.moveOrigin, goal ) > tempGoalDist )
{ {
self botMoveTo( goal ); self botMoveTo( goal );