* Attempted Fix for 1191 - Crash on ViewerEffectHandler. We are missing typedata data however it seems.

0.6.0-stable
Adam Frisby 2008-05-08 14:06:48 +00:00
parent 31c4d599a0
commit 2eecc9756a
1 changed files with 2 additions and 0 deletions

View File

@ -184,6 +184,8 @@ namespace OpenSim.Framework
effect.Duration = args[i].Duration; effect.Duration = args[i].Duration;
effect.ID = args[i].ID; effect.ID = args[i].ID;
effect.Type = args[i].Type; effect.Type = args[i].Type;
// This should be the target object I think - Adam
effect.TypeData = new byte[0];
effectBlock.Add(effect); effectBlock.Add(effect);
} }
packet.Effect = effectBlock.ToArray(); packet.Effect = effectBlock.ToArray();