diff options
author | lbsa71 | 2007-09-20 07:49:11 +0000 |
---|---|---|
committer | lbsa71 | 2007-09-20 07:49:11 +0000 |
commit | 14d5a2e9b757c258c6ad15f0939973ef172d2d1f (patch) | |
tree | e0eb78ae9b3d3dfcc1a811b127cdb968b3d625e1 /OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs | |
parent | * Rewired Touch to route to group/part (Still triggering EventManager as well) (diff) | |
download | opensim-SC-14d5a2e9b757c258c6ad15f0939973ef172d2d1f.zip opensim-SC-14d5a2e9b757c258c6ad15f0939973ef172d2d1f.tar.gz opensim-SC-14d5a2e9b757c258c6ad15f0939973ef172d2d1f.tar.bz2 opensim-SC-14d5a2e9b757c258c6ad15f0939973ef172d2d1f.tar.xz |
* moved SceneManager to RegionApplicationBase
* Implemented SceneManager.StopScene() and Scene.Stop()
* Some SimpleApping
Diffstat (limited to 'OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs')
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs index d2dce6b..7836199 100644 --- a/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs +++ b/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs | |||
@@ -179,8 +179,15 @@ namespace SimpleApp | |||
179 | 179 | ||
180 | public virtual void SendRegionHandshake(RegionInfo regionInfo) | 180 | public virtual void SendRegionHandshake(RegionInfo regionInfo) |
181 | { | 181 | { |
182 | this.OnRegionHandShakeReply(this); | 182 | if (OnRegionHandShakeReply != null) |
183 | this.OnCompleteMovementToRegion(); | 183 | { |
184 | this.OnRegionHandShakeReply(this); | ||
185 | } | ||
186 | |||
187 | if (OnCompleteMovementToRegion != null) | ||
188 | { | ||
189 | this.OnCompleteMovementToRegion(); | ||
190 | } | ||
184 | } | 191 | } |
185 | 192 | ||
186 | private void Update( ) | 193 | private void Update( ) |