Replace WPos.ToCPos -> Map.CellContaining.
This commit is contained in:
@@ -181,7 +181,7 @@ namespace OpenRA.Traits
|
||||
return cells.Select(c => c.First);
|
||||
}
|
||||
|
||||
return new[] { a.CenterPosition.ToCPos() };
|
||||
return new[] { a.World.Map.CellContaining(a.CenterPosition) };
|
||||
}
|
||||
|
||||
public void Explore(World world, CPos center, WRange range)
|
||||
|
||||
Reference in New Issue
Block a user