Proper way to finish current route point.
This commit is contained in:
parent
b0e918e4fe
commit
2d581185d6
@ -179,6 +179,7 @@ public abstract class Vehicle extends Creature
|
||||
{
|
||||
if (_runState < _currentPath.length)
|
||||
{
|
||||
_runState = Math.max(0, _runState - 1);
|
||||
moveToNextRoutePoint();
|
||||
}
|
||||
else
|
||||
|
@ -179,6 +179,7 @@ public abstract class Vehicle extends Creature
|
||||
{
|
||||
if (_runState < _currentPath.length)
|
||||
{
|
||||
_runState = Math.max(0, _runState - 1);
|
||||
moveToNextRoutePoint();
|
||||
}
|
||||
else
|
||||
|
@ -179,6 +179,7 @@ public abstract class Vehicle extends Creature
|
||||
{
|
||||
if (_runState < _currentPath.length)
|
||||
{
|
||||
_runState = Math.max(0, _runState - 1);
|
||||
moveToNextRoutePoint();
|
||||
}
|
||||
else
|
||||
|
@ -179,6 +179,7 @@ public abstract class Vehicle extends Creature
|
||||
{
|
||||
if (_runState < _currentPath.length)
|
||||
{
|
||||
_runState = Math.max(0, _runState - 1);
|
||||
moveToNextRoutePoint();
|
||||
}
|
||||
else
|
||||
|
@ -179,6 +179,7 @@ public abstract class Vehicle extends Creature
|
||||
{
|
||||
if (_runState < _currentPath.length)
|
||||
{
|
||||
_runState = Math.max(0, _runState - 1);
|
||||
moveToNextRoutePoint();
|
||||
}
|
||||
else
|
||||
|
@ -179,6 +179,7 @@ public abstract class Vehicle extends Creature
|
||||
{
|
||||
if (_runState < _currentPath.length)
|
||||
{
|
||||
_runState = Math.max(0, _runState - 1);
|
||||
moveToNextRoutePoint();
|
||||
}
|
||||
else
|
||||
|
@ -179,6 +179,7 @@ public abstract class Vehicle extends Creature
|
||||
{
|
||||
if (_runState < _currentPath.length)
|
||||
{
|
||||
_runState = Math.max(0, _runState - 1);
|
||||
moveToNextRoutePoint();
|
||||
}
|
||||
else
|
||||
|
@ -179,6 +179,7 @@ public abstract class Vehicle extends Creature
|
||||
{
|
||||
if (_runState < _currentPath.length)
|
||||
{
|
||||
_runState = Math.max(0, _runState - 1);
|
||||
moveToNextRoutePoint();
|
||||
}
|
||||
else
|
||||
|
@ -179,6 +179,7 @@ public abstract class Vehicle extends Creature
|
||||
{
|
||||
if (_runState < _currentPath.length)
|
||||
{
|
||||
_runState = Math.max(0, _runState - 1);
|
||||
moveToNextRoutePoint();
|
||||
}
|
||||
else
|
||||
|
@ -179,6 +179,7 @@ public abstract class Vehicle extends Creature
|
||||
{
|
||||
if (_runState < _currentPath.length)
|
||||
{
|
||||
_runState = Math.max(0, _runState - 1);
|
||||
moveToNextRoutePoint();
|
||||
}
|
||||
else
|
||||
|
@ -179,6 +179,7 @@ public abstract class Vehicle extends Creature
|
||||
{
|
||||
if (_runState < _currentPath.length)
|
||||
{
|
||||
_runState = Math.max(0, _runState - 1);
|
||||
moveToNextRoutePoint();
|
||||
}
|
||||
else
|
||||
|
@ -182,6 +182,7 @@ public abstract class Vehicle extends Creature
|
||||
{
|
||||
if (_runState < _currentPath.length)
|
||||
{
|
||||
_runState = Math.max(0, _runState - 1);
|
||||
moveToNextRoutePoint();
|
||||
}
|
||||
else
|
||||
|
@ -182,6 +182,7 @@ public abstract class Vehicle extends Creature
|
||||
{
|
||||
if (_runState < _currentPath.length)
|
||||
{
|
||||
_runState = Math.max(0, _runState - 1);
|
||||
moveToNextRoutePoint();
|
||||
}
|
||||
else
|
||||
|
@ -179,6 +179,7 @@ public abstract class Vehicle extends Creature
|
||||
{
|
||||
if (_runState < _currentPath.length)
|
||||
{
|
||||
_runState = Math.max(0, _runState - 1);
|
||||
moveToNextRoutePoint();
|
||||
}
|
||||
else
|
||||
|
@ -179,6 +179,7 @@ public abstract class Vehicle extends Creature
|
||||
{
|
||||
if (_runState < _currentPath.length)
|
||||
{
|
||||
_runState = Math.max(0, _runState - 1);
|
||||
moveToNextRoutePoint();
|
||||
}
|
||||
else
|
||||
|
@ -179,6 +179,7 @@ public abstract class Vehicle extends Creature
|
||||
{
|
||||
if (_runState < _currentPath.length)
|
||||
{
|
||||
_runState = Math.max(0, _runState - 1);
|
||||
moveToNextRoutePoint();
|
||||
}
|
||||
else
|
||||
|
@ -179,6 +179,7 @@ public abstract class Vehicle extends Creature
|
||||
{
|
||||
if (_runState < _currentPath.length)
|
||||
{
|
||||
_runState = Math.max(0, _runState - 1);
|
||||
moveToNextRoutePoint();
|
||||
}
|
||||
else
|
||||
|
@ -179,6 +179,7 @@ public abstract class Vehicle extends Creature
|
||||
{
|
||||
if (_runState < _currentPath.length)
|
||||
{
|
||||
_runState = Math.max(0, _runState - 1);
|
||||
moveToNextRoutePoint();
|
||||
}
|
||||
else
|
||||
|
@ -179,6 +179,7 @@ public abstract class Vehicle extends Creature
|
||||
{
|
||||
if (_runState < _currentPath.length)
|
||||
{
|
||||
_runState = Math.max(0, _runState - 1);
|
||||
moveToNextRoutePoint();
|
||||
}
|
||||
else
|
||||
|
@ -179,6 +179,7 @@ public abstract class Vehicle extends Creature
|
||||
{
|
||||
if (_runState < _currentPath.length)
|
||||
{
|
||||
_runState = Math.max(0, _runState - 1);
|
||||
moveToNextRoutePoint();
|
||||
}
|
||||
else
|
||||
|
@ -179,6 +179,7 @@ public abstract class Vehicle extends Creature
|
||||
{
|
||||
if (_runState < _currentPath.length)
|
||||
{
|
||||
_runState = Math.max(0, _runState - 1);
|
||||
moveToNextRoutePoint();
|
||||
}
|
||||
else
|
||||
|
@ -179,6 +179,7 @@ public abstract class Vehicle extends Creature
|
||||
{
|
||||
if (_runState < _currentPath.length)
|
||||
{
|
||||
_runState = Math.max(0, _runState - 1);
|
||||
moveToNextRoutePoint();
|
||||
}
|
||||
else
|
||||
|
@ -179,6 +179,7 @@ public abstract class Vehicle extends Creature
|
||||
{
|
||||
if (_runState < _currentPath.length)
|
||||
{
|
||||
_runState = Math.max(0, _runState - 1);
|
||||
moveToNextRoutePoint();
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user