fixing references to Ore.*

This commit is contained in:
Bob
2010-01-18 03:35:44 +13:00
parent efda804a41
commit 7c1cd29e87
4 changed files with 14 additions and 12 deletions

View File

@@ -28,7 +28,7 @@ namespace OpenRa
if (impactSound != null) Sound.Play(impactSound + ".aud");
if (!isWater) Smudge.AddSmudge(targetTile, warhead);
if (warhead.Ore) Ore.Destroy(targetTile.X, targetTile.Y);
if (warhead.Ore) Game.world.Map.DestroyOre(targetTile.X, targetTile.Y);
var maxSpread = GetMaximumSpread(weapon, warhead);
var hitActors = Game.world.FindUnitsInCircle(loc, maxSpread);