diff options
author | Justin Clark-Casey (justincc) | 2011-09-21 23:56:11 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-09-21 23:56:11 +0100 |
commit | 241e07d006fad1b54e088d8a9ddede0b98a1e800 (patch) | |
tree | 828c62846bdd47d6eea0a47b02d366dd1728b9ea /OpenSim/Region/OptionalModules | |
parent | Remove unused and never set SP.PreviousRotation (diff) | |
download | opensim-SC-241e07d006fad1b54e088d8a9ddede0b98a1e800.zip opensim-SC-241e07d006fad1b54e088d8a9ddede0b98a1e800.tar.gz opensim-SC-241e07d006fad1b54e088d8a9ddede0b98a1e800.tar.bz2 opensim-SC-241e07d006fad1b54e088d8a9ddede0b98a1e800.tar.xz |
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.
Diffstat (limited to 'OpenSim/Region/OptionalModules')
-rw-r--r-- | OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs index 2fdeeab..6282245 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs | |||
@@ -53,7 +53,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
53 | if (config != null && config.GetBoolean("Enabled", false)) | 53 | if (config != null && config.GetBoolean("Enabled", false)) |
54 | { | 54 | { |
55 | scene.RegisterModuleInterface<INPCModule>(this); | 55 | scene.RegisterModuleInterface<INPCModule>(this); |
56 | scene.EventManager.OnSignificantClientMovement += HandleOnSignificantClientMovement; | 56 | // scene.EventManager.OnSignificantClientMovement += HandleOnSignificantClientMovement; |
57 | } | 57 | } |
58 | } | 58 | } |
59 | 59 | ||