* Fix build error, (maybe)

* Might break something..     hard to say..      0.o
0.6.0-stable
Teravus Ovares 2008-09-20 17:17:41 +00:00
parent 5a1be7835c
commit 42f04233a4
2 changed files with 5 additions and 4 deletions

View File

@ -552,7 +552,7 @@ namespace OpenSim.Region.Environment.Modules.InterGrid
// REPLACEMENT
responseMap["region_seed_capability"] = LLSD.FromString(regionCapsHttpProtocol + httpaddr + ":" + reg.HttpPort + "/CAPS/" + userCap.CapsObjectPath + "0000/");
responseMap["rez_avatar"] = LLSD.FromString(rezHttpProtocol + httpaddr + ":" + urlport + rezAvatarPath);
responseMap["rez_avatar/rez"] = LLSD.FromString(rezHttpProtocol + httpaddr + ":" + urlport + rezAvatarPath);
responseMap["rez_avatar/derez"] = LLSD.FromString(rezHttpProtocol + httpaddr + ":" + urlport + derezAvatarPath);

View File

@ -146,7 +146,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
field.FieldType == typeof(Single) ||
field.FieldType == typeof(String) ||
field.FieldType == typeof(Byte) ||
field.FieldType == typeof(Short))
field.FieldType == typeof(short))
{
vars[field.Name] = field.GetValue(this);
}
@ -159,6 +159,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
{
foreach (KeyValuePair<string, object> var in vars)
{
FieldInfo field = (FieldInfo)var.Value;
if (m_Fields.ContainsKey(var.Key))
{
if (m_Fields[var.Key].FieldType == typeof(LSL_Types.list))
@ -177,7 +178,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
field.FieldType == typeof(Single) ||
field.FieldType == typeof(String) ||
field.FieldType == typeof(Byte) ||
field.FieldType == typeof(Short))
field.FieldType == typeof(short))
{
m_Fields[var.Key].SetValue(this, var.Value);
}