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