Move code which handles NPC movement into Scene so that this can also be used by Autopilot coming from the client side.

I thought that I had implemented this but must have accidentally removed it.
Adds a regression test to detect if this happens again.
Temporarily disables automatic landing of NPC at a target.  Will be fixed presently.
This commit is contained in:
Justin Clark-Casey (justincc)
2011-09-21 23:56:11 +01:00
parent f9438e7147
commit 241e07d006
3 changed files with 203 additions and 1 deletions

View File

@@ -53,7 +53,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC
if (config != null && config.GetBoolean("Enabled", false))
{
scene.RegisterModuleInterface<INPCModule>(this);
scene.EventManager.OnSignificantClientMovement += HandleOnSignificantClientMovement;
// scene.EventManager.OnSignificantClientMovement += HandleOnSignificantClientMovement;
}
}