fixes issue 571, not handling short on CapsToPacket.cs
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1481 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -176,6 +176,10 @@ namespace libsecondlife.Packets
|
||||
// Just need a bit of manual typecasting love here
|
||||
field.SetValue(block, (byte)(int)blockData[field.Name]);
|
||||
}
|
||||
else if (fieldType == typeof(short))
|
||||
{
|
||||
field.SetValue(block, (short)(int)blockData[field.Name]);
|
||||
}
|
||||
else
|
||||
{
|
||||
field.SetValue(block, blockData[field.Name]);
|
||||
|
||||
Reference in New Issue
Block a user