rename ore to the more generic name resources everywhere

This commit is contained in:
Matthias Mailänder
2014-05-17 14:38:07 +02:00
parent 30fa8f35d8
commit 3e627d2eba
24 changed files with 107 additions and 93 deletions

6
OpenRA.Mods.RA/Combat.cs Executable file → Normal file
View File

@@ -71,14 +71,14 @@ namespace OpenRA.Mods.RA
throw new NotImplementedException("Unknown smudge type `{0}`".F(smudgeType));
smudgeLayer.AddSmudge(sc);
if (warhead.Ore)
if (warhead.DestroyResources)
resLayer.Destroy(sc);
}
// Destroy all resources in range, not just the outer shell:
foreach (var cell in allCells)
{
if (warhead.Ore)
if (warhead.DestroyResources)
resLayer.Destroy(cell);
}
}
@@ -95,7 +95,7 @@ namespace OpenRA.Mods.RA
}
}
if (warhead.Ore)
if (warhead.DestroyResources)
world.WorldActor.Trait<ResourceLayer>().Destroy(targetTile);
switch (warhead.DamageModel)