smite some more compile warnings (amended to add minimap changes)

This commit is contained in:
alzeih
2010-07-11 19:09:11 +12:00
committed by Paul Chote
parent 7d18937415
commit dc1e36f653
10 changed files with 6 additions and 24 deletions

View File

@@ -33,13 +33,12 @@ namespace OpenRA.Mods.RA
class RepairButtonInfo : ITraitInfo
{
public readonly bool RequiresConstructionYard = true;
public object Create(ActorInitializer init) { return new RepairButton(this); }
public object Create(ActorInitializer init) { return new RepairButton(); }
}
class RepairButton : IChromeButton
{
RepairButtonInfo info;
public RepairButton( RepairButtonInfo info ) { this.info = info; }
public RepairButton() { }
public string Image { get { return "repair"; } }
public bool Enabled

View File

@@ -49,7 +49,7 @@ namespace OpenRA.Mods.RA
//if (!underCursor.Info.Traits.Get<CargoInfo>().PassengerTypes.Contains(umt))
return null;
return new Order("EnterTransport", self, underCursor);
//return new Order("EnterTransport", self, underCursor);
}
public string CursorForOrderString(string s, Actor a, int2 location)

View File

@@ -17,8 +17,7 @@ namespace OpenRA.Mods.RA
.Select(id => self.World.Actors.FirstOrDefault(a => a.ActorID == id))
.Where(a => a != null);
var g = new Group(actors);
// g.Dump();
new Group(actors);
}
}
}