smite some more compile warnings (amended to add minimap changes)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user