fix cAgent.CrossingFlags

LSLKeyTest
UbitUmarov 2016-07-30 04:25:32 +01:00
parent b44b898331
commit 6cd0a3e07c
1 changed files with 7 additions and 1 deletions

View File

@ -4539,7 +4539,13 @@ namespace OpenSim.Region.Framework.Scenes
if (Scene.AttachmentsModule != null) if (Scene.AttachmentsModule != null)
Scene.AttachmentsModule.CopyAttachments(this, cAgent); Scene.AttachmentsModule.CopyAttachments(this, cAgent);
cAgent.CrossingFlags = isCrossUpdate ? crossingFlags : (byte)0; if(isCrossUpdate)
{
cAgent.CrossingFlags = crossingFlags;
cAgent.CrossingFlags |= 1;
}
else
cAgent.CrossingFlags = 0;
if(isCrossUpdate && haveGroupInformation) if(isCrossUpdate && haveGroupInformation)
{ {