fix some issue on parcels loading and make parcels dwell show something. Resolution is 2.5min aprox.

This commit is contained in:
UbitUmarov
2017-05-14 01:44:04 +01:00
parent 25ca8695f3
commit cb21caae77
7 changed files with 74 additions and 26 deletions

View File

@@ -3114,7 +3114,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
float dwell = 0.0f;
IDwellModule dwellModule = m_scene.RequestModuleInterface<IDwellModule>();
if (dwellModule != null)
dwell = dwellModule.GetDwell(land.GlobalID);
dwell = dwellModule.GetDwell(land);
ParcelInfoReplyPacket reply = (ParcelInfoReplyPacket)PacketPool.Instance.GetPacket(PacketType.ParcelInfoReply);
reply.AgentData.AgentID = m_agentId;
reply.Data.ParcelID = parcelID;