make ShowMouseScrollDropdown static; it needs nothing from the instance.

This commit is contained in:
Chris Forbes
2011-09-24 20:45:46 +12:00
parent 6a78eec512
commit 589d201a16

View File

@@ -162,7 +162,7 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic
return true;
}
bool ShowMouseScrollDropdown(DropDownButtonWidget dropdown, GameSettings s)
static bool ShowMouseScrollDropdown(DropDownButtonWidget dropdown, GameSettings s)
{
var options = new Dictionary<string, MouseScrollType>()
{