Hide cursor and render the placeholder directly
This commit is contained in:
@@ -21,5 +21,6 @@ namespace OpenRA
|
||||
IEnumerable<IRenderable> Render(WorldRenderer wr, World world);
|
||||
IEnumerable<IRenderable> RenderAboveShroud(WorldRenderer wr, World world);
|
||||
string GetCursor(World world, CPos cell, int2 worldPixel, MouseInput mi);
|
||||
void Deactivate();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -84,6 +84,8 @@ namespace OpenRA.Orders
|
||||
return cursorOrder != null ? cursorOrder.Cursor : (useSelect ? "select" : "default");
|
||||
}
|
||||
|
||||
public void Deactivate() { }
|
||||
|
||||
// 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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user