Map: Rename IsInMap -> Contains.

This commit is contained in:
Paul Chote
2014-06-26 21:45:55 +12:00
parent e0df669de9
commit 5560f276ca
27 changed files with 43 additions and 43 deletions

View File

@@ -178,7 +178,7 @@ namespace OpenRA.Mods.RA.Move
var newHere = p.Location + d;
// Is this direction flat-out unusable or already seen?
if (!world.Map.IsInMap(newHere))
if (!world.Map.Contains(newHere))
continue;
if (CellInfo[newHere].Seen)
@@ -255,7 +255,7 @@ namespace OpenRA.Mods.RA.Move
public void AddInitialCell(CPos location)
{
if (!self.World.Map.IsInMap(location))
if (!self.World.Map.Contains(location))
return;
CellInfo[location] = new CellInfo(0, location, false);