clickable bits in local player row

This commit is contained in:
Chris Forbes
2010-01-26 19:30:46 +13:00
parent ad94d05ac7
commit dc61cd19da
2 changed files with 48 additions and 9 deletions

View File

@@ -271,13 +271,6 @@ namespace OpenRa
{
int sync = Game.world.SyncHash();
/* hack hack hack */
if( e.KeyCode == Keys.F8 && !Game.orderManager.GameStarted )
{
Game.orderManager.IssueOrder(
new Order( "ToggleReady", Game.world.LocalPlayer.PlayerActor, "" ) { IsImmediate = true } );
}
if( !Game.chat.isChatting )
if( e.KeyCode >= Keys.D0 && e.KeyCode <= Keys.D9 )
Game.controller.DoControlGroup( world, (int)e.KeyCode - (int)Keys.D0, (Modifiers)(int)e.Modifiers );