Applying patch [LIBOMV-230] by Marco to fix BeamEffect()s always being black

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1936 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2008-07-21 07:06:23 +00:00
parent e68cddac48
commit bcb99e22ae

View File

@@ -1567,7 +1567,7 @@ namespace libsecondlife
effect.Effect = new ViewerEffectPacket.EffectBlock[1];
effect.Effect[0] = new ViewerEffectPacket.EffectBlock();
effect.Effect[0].AgentID = Client.Self.AgentID;
effect.Effect[0].Color = color.GetFloatBytes();
effect.Effect[0].Color = color.GetBytes();
effect.Effect[0].Duration = duration;
effect.Effect[0].ID = effectID;
effect.Effect[0].Type = (byte)EffectType.Beam;