diff options
author | UbitUmarov | 2016-07-30 04:25:32 +0100 |
---|---|---|
committer | UbitUmarov | 2016-07-30 04:25:32 +0100 |
commit | 6cd0a3e07c828071620ea6d2c6bd83fcade04a0d (patch) | |
tree | af341b0ce9ba4cbcffca99c2251c956431778489 /OpenSim/Region/Framework | |
parent | remove a unused parameter (diff) | |
download | opensim-SC-6cd0a3e07c828071620ea6d2c6bd83fcade04a0d.zip opensim-SC-6cd0a3e07c828071620ea6d2c6bd83fcade04a0d.tar.gz opensim-SC-6cd0a3e07c828071620ea6d2c6bd83fcade04a0d.tar.bz2 opensim-SC-6cd0a3e07c828071620ea6d2c6bd83fcade04a0d.tar.xz |
fix cAgent.CrossingFlags
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 7c1a7631..c592385 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -4539,7 +4539,13 @@ namespace OpenSim.Region.Framework.Scenes | |||
4539 | if (Scene.AttachmentsModule != null) | 4539 | if (Scene.AttachmentsModule != null) |
4540 | Scene.AttachmentsModule.CopyAttachments(this, cAgent); | 4540 | Scene.AttachmentsModule.CopyAttachments(this, cAgent); |
4541 | 4541 | ||
4542 | cAgent.CrossingFlags = isCrossUpdate ? crossingFlags : (byte)0; | 4542 | if(isCrossUpdate) |
4543 | { | ||
4544 | cAgent.CrossingFlags = crossingFlags; | ||
4545 | cAgent.CrossingFlags |= 1; | ||
4546 | } | ||
4547 | else | ||
4548 | cAgent.CrossingFlags = 0; | ||
4543 | 4549 | ||
4544 | if(isCrossUpdate && haveGroupInformation) | 4550 | if(isCrossUpdate && haveGroupInformation) |
4545 | { | 4551 | { |