mirror of
https://github.com/ineedbots/iw5_bot_warfare.git
synced 2025-06-28 07:01:50 +00:00
fix remote vehicle movement
This commit is contained in:
@ -2270,7 +2270,7 @@ movetowards( goal )
|
||||
else
|
||||
tempGoalDist = level.bots_goalDistance;
|
||||
|
||||
while ( distanceSquared( self.origin, goal ) > tempGoalDist )
|
||||
while ( distanceSquared( self.bot.moveOrigin, goal ) > tempGoalDist )
|
||||
{
|
||||
self botMoveTo( goal );
|
||||
|
||||
|
Reference in New Issue
Block a user