return 19850

master
Christopher Latza 2020-06-23 17:12:06 +02:00
parent 054c8dc459
commit 4ac5da4ee2
1 changed files with 3 additions and 0 deletions

View File

@ -326,6 +326,9 @@ namespace OpenSim.Modules.PathFinding
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);
Roy_T.AStar.Primitives.Size _pathFindingCellSize = new Roy_T.AStar.Primitives.Size(Distance.FromMeters(1), Distance.FromMeters(1));
Velocity _pathFindingVelocity = Velocity.FromKilometersPerHour(11.5f);