mirror of
https://github.com/ineedbots/iw5_bot_warfare.git
synced 2025-04-25 23:29:12 +00:00
fix remote vehicle movement
This commit is contained in:
parent
04fb981315
commit
f435b95b3f
@ -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 );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user