* Removing more compiler warnings
parent
08b04810a8
commit
6cf9d6da21
|
@ -117,7 +117,7 @@ namespace OpenSim.Region.Communications.OGS1
|
||||||
uint regY = Convert.ToUInt32(n["y"]);
|
uint regY = Convert.ToUInt32(n["y"]);
|
||||||
if ((regionInfo.RegionLocX != regX) || (regionInfo.RegionLocY != regY))
|
if ((regionInfo.RegionLocX != regX) || (regionInfo.RegionLocY != regY))
|
||||||
{
|
{
|
||||||
string externalIpStr = Dns.GetHostByName((string)n["sim_ip"]).AddressList[0].ToString();
|
string externalIpStr = OpenSim.Framework.Utilities.Util.GetHostFromDNS((string)n["sim_ip"]).ToString();
|
||||||
uint port = Convert.ToUInt32(n["sim_port"]);
|
uint port = Convert.ToUInt32(n["sim_port"]);
|
||||||
string externalUri = (string)n["sim_uri"];
|
string externalUri = (string)n["sim_uri"];
|
||||||
|
|
||||||
|
|
|
@ -44,8 +44,6 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
public bool m_isRootPrim;
|
public bool m_isRootPrim;
|
||||||
public EntityBase m_Parent;
|
public EntityBase m_Parent;
|
||||||
|
|
||||||
private EventManager m_eventManager;
|
|
||||||
|
|
||||||
public event PrimCountTaintedDelegate OnPrimCountTainted;
|
public event PrimCountTaintedDelegate OnPrimCountTainted;
|
||||||
|
|
||||||
#region Properties
|
#region Properties
|
||||||
|
|
|
@ -343,7 +343,6 @@ using System;
|
||||||
|
|
||||||
Common.SendToDebug("Last OPCODE was return command. Code chunk execution complete.");
|
Common.SendToDebug("Last OPCODE was return command. Code chunk execution complete.");
|
||||||
return true;
|
return true;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -73,8 +73,6 @@ namespace OpenSim.Region.Scripting
|
||||||
[Obsolete("Unimplemented")]
|
[Obsolete("Unimplemented")]
|
||||||
public void osAddToLandPassList(Key avatar, float hours)
|
public void osAddToLandPassList(Key avatar, float hours)
|
||||||
{
|
{
|
||||||
int parcelID = 0;
|
|
||||||
|
|
||||||
Vector myPosition = Task.Pos;
|
Vector myPosition = Task.Pos;
|
||||||
Land myParcel = World.LandManager.getLandObject(myPosition.X, myPosition.Y);
|
Land myParcel = World.LandManager.getLandObject(myPosition.X, myPosition.Y);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue