return 19850
parent
054c8dc459
commit
4ac5da4ee2
|
@ -326,6 +326,9 @@ namespace OpenSim.Modules.PathFinding
|
||||||
|
|
||||||
if(_env.Start != null && _env.Target != null)
|
if(_env.Start != null && _env.Target != null)
|
||||||
{
|
{
|
||||||
|
if(_env.Start.PositionX == _env.Target.PositionX && _env.Start.PositionY == _env.Target.PositionY)
|
||||||
|
m_scriptModule.DispatchReply(requestData.ScriptID, 19850, "", requestData.RequestID.ToString());
|
||||||
|
|
||||||
GridSize _pathFindingGridSize = new GridSize(_env.Size, _env.Size);
|
GridSize _pathFindingGridSize = new GridSize(_env.Size, _env.Size);
|
||||||
Roy_T.AStar.Primitives.Size _pathFindingCellSize = new Roy_T.AStar.Primitives.Size(Distance.FromMeters(1), Distance.FromMeters(1));
|
Roy_T.AStar.Primitives.Size _pathFindingCellSize = new Roy_T.AStar.Primitives.Size(Distance.FromMeters(1), Distance.FromMeters(1));
|
||||||
Velocity _pathFindingVelocity = Velocity.FromKilometersPerHour(11.5f);
|
Velocity _pathFindingVelocity = Velocity.FromKilometersPerHour(11.5f);
|
||||||
|
|
Loading…
Reference in New Issue