Adding our parcel's generated id to map packets

iar_mods
BlueWall 2012-01-28 10:36:39 -05:00
parent 2e31f12cf4
commit ae057a7589
1 changed files with 2 additions and 2 deletions

View File

@ -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);