Adding our parcel's generated id to map packets
parent
2e31f12cf4
commit
ae057a7589
|
@ -464,7 +464,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
|
||||||
mapitem.x = (uint)(xstart + x);
|
mapitem.x = (uint)(xstart + x);
|
||||||
mapitem.y = (uint)(ystart + y);
|
mapitem.y = (uint)(ystart + y);
|
||||||
// mapitem.z = (uint)m_scene.GetGroundHeight(x,y);
|
// mapitem.z = (uint)m_scene.GetGroundHeight(x,y);
|
||||||
mapitem.id = UUID.Zero;
|
mapitem.id = parcel.GlobalID;
|
||||||
mapitem.name = parcel.Name;
|
mapitem.name = parcel.Name;
|
||||||
mapitem.Extra = parcel.Area;
|
mapitem.Extra = parcel.Area;
|
||||||
mapitem.Extra2 = parcel.SalePrice;
|
mapitem.Extra2 = parcel.SalePrice;
|
||||||
|
@ -1291,7 +1291,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
|
||||||
responsemapdata["X"] = OSD.FromInteger((int)(xstart + x));
|
responsemapdata["X"] = OSD.FromInteger((int)(xstart + x));
|
||||||
responsemapdata["Y"] = OSD.FromInteger((int)(ystart + y));
|
responsemapdata["Y"] = OSD.FromInteger((int)(ystart + y));
|
||||||
// responsemapdata["Z"] = OSD.FromInteger((int)m_scene.GetGroundHeight(x,y));
|
// responsemapdata["Z"] = OSD.FromInteger((int)m_scene.GetGroundHeight(x,y));
|
||||||
responsemapdata["ID"] = OSD.FromUUID(UUID.Zero);
|
responsemapdata["ID"] = OSD.FromUUID(parcel.GlobalID);
|
||||||
responsemapdata["Name"] = OSD.FromString(parcel.Name);
|
responsemapdata["Name"] = OSD.FromString(parcel.Name);
|
||||||
responsemapdata["Extra"] = OSD.FromInteger(parcel.Area);
|
responsemapdata["Extra"] = OSD.FromInteger(parcel.Area);
|
||||||
responsemapdata["Extra2"] = OSD.FromInteger(parcel.SalePrice);
|
responsemapdata["Extra2"] = OSD.FromInteger(parcel.SalePrice);
|
||||||
|
|
Loading…
Reference in New Issue