routing modifier keys where they need to be

This commit is contained in:
Chris Forbes
2009-12-16 11:31:53 +13:00
parent 6d59339b84
commit 5bf3e05f03
18 changed files with 100 additions and 84 deletions

View File

@@ -12,7 +12,7 @@ namespace OpenRa.Game
return string.Format(fmt, args);
}
public static bool HasModifier(this Keys k, Keys mod)
public static bool HasModifier(this Modifiers k, Modifiers mod)
{
return (k & mod) == mod;
}