Remove WorldRenderer argument from InputOverridesSelection.

This commit is contained in:
Paul Chote
2019-10-28 23:50:58 +00:00
committed by abcdefg30
parent 0cfd6337ff
commit 9d4f683d80
4 changed files with 4 additions and 4 deletions

View File

@@ -90,7 +90,7 @@ namespace OpenRA.Orders
bool IOrderGenerator.HandleKeyPress(KeyInput e) { return false; }
// Used for classic mouse orders, determines whether or not action at xy is move or select
public virtual bool InputOverridesSelection(WorldRenderer wr, World world, int2 xy, MouseInput mi)
public virtual bool InputOverridesSelection(World world, int2 xy, MouseInput mi)
{
var actor = world.ScreenMap.ActorsAtMouse(xy)
.Where(a => !a.Actor.IsDead)