Use the requested sim's map, not our own

avinationmerge
Melanie 2012-01-30 21:38:46 +00:00
parent 9dbb58ee8b
commit e1cad4c34f
1 changed files with 2 additions and 2 deletions

View File

@ -1024,10 +1024,10 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
switch (flag & 0xffff)
{
case 0:
block.MapImageId = m_scene.RegionInfo.RegionSettings.ParcelImageID;
block.MapImageId = r.TerrainImage;
break;
case 2:
block.MapImageId = m_scene.RegionInfo.RegionSettings.ParcelImageID;
block.MapImageId = r.ParcelImage;
break;
default:
block.MapImageId = UUID.Zero;