Move GetTerrainIndex/Info from WorldUtils to Map

This commit is contained in:
Pavlos Touboulidis
2014-06-13 13:57:32 +03:00
parent 0cf2d608e4
commit c282fa1077
20 changed files with 43 additions and 39 deletions

View File

@@ -82,7 +82,7 @@ namespace OpenRA.Mods.RA
if (!self.Owner.Shroud.IsExplored(a) || !self.Owner.Shroud.IsExplored(b))
return false;
if (self.World.GetTerrainIndex(a) != self.World.GetTerrainIndex(b))
if (self.World.Map.GetTerrainIndex(a) != self.World.Map.GetTerrainIndex(b))
return false;
}