Remove unused parameters.
This commit is contained in:
committed by
abcdefg30
parent
ea243b8558
commit
0e7ad43425
@@ -124,7 +124,7 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
IProductionIconOverlay[] pios;
|
||||
|
||||
[CustomLintableHotkeyNames]
|
||||
public static IEnumerable<string> LinterHotkeyNames(MiniYamlNode widgetNode, Action<string> emitError, Action<string> emitWarning)
|
||||
public static IEnumerable<string> LinterHotkeyNames(MiniYamlNode widgetNode, Action<string> emitError)
|
||||
{
|
||||
var prefix = "";
|
||||
var prefixNode = widgetNode.Value.Nodes.FirstOrDefault(n => n.Key == "HotkeyPrefix");
|
||||
@@ -457,7 +457,7 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
var rect = new Rectangle(rb.X + x * (IconSize.X + IconMargin.X), rb.Y + y * (IconSize.Y + IconMargin.Y), IconSize.X, IconSize.Y);
|
||||
|
||||
var rsi = item.TraitInfo<RenderSpritesInfo>();
|
||||
var icon = new Animation(World, rsi.GetImage(item, World.Map.Rules.Sequences, faction));
|
||||
var icon = new Animation(World, rsi.GetImage(item, faction));
|
||||
var bi = item.TraitInfo<BuildableInfo>();
|
||||
icon.Play(bi.Icon);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user