Rename ActorMap *UnitsAt* occurences to *ActorsAt*

These enumerate actors in general, not just mobile actors (which the term 'unit' usually refers to).
This commit is contained in:
reaperrr
2015-10-16 00:07:06 +02:00
parent 410f121a1e
commit 2f69711341
23 changed files with 50 additions and 50 deletions

View File

@@ -65,7 +65,7 @@ namespace OpenRA.Mods.Common.Warheads
public static bool GetDirectHit(World world, CPos cell, WPos pos)
{
foreach (var unit in world.ActorMap.GetUnitsAt(cell))
foreach (var unit in world.ActorMap.GetActorsAt(cell))
{
var healthInfo = unit.Info.TraitInfoOrDefault<HealthInfo>();
if (healthInfo == null)