squash some warnings

This commit is contained in:
Chris Forbes
2010-12-23 08:50:07 +13:00
parent c1fb6c2732
commit e8a85db309
3 changed files with 1 additions and 3 deletions

View File

@@ -22,7 +22,6 @@ namespace OpenRA.Mods.RA
class AttackLeap : AttackFrontal
{
internal bool IsLeaping;
protected Target target;
public AttackLeap(Actor self, AttackLeapInfo info)
: base(self, info) {}

View File

@@ -78,7 +78,6 @@ namespace OpenRA.Mods.RA.Buildings
public readonly List<string> prerequisites;
public readonly ITechTreeElement watcher;
bool hasPrerequisites;
bool requiresPowered;
public Watcher(string key, List<string> prerequisites, ITechTreeElement watcher)
{

View File

@@ -36,7 +36,7 @@ namespace OpenRA.Mods.RA
class HackyAIInfo : IBotInfo, ITraitInfo
{
[FieldLoader.Load]
public readonly string Name;
public readonly string Name = "Unnamed Bot";
[FieldLoader.Load]
public readonly int SquadSize = 8;