From 899ad3c232a1d60111b646637a53698234cd4eea Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 8 Feb 2014 16:26:46 +0300 Subject: Add action for open trade window. Default key unassigned. --- src/input/keyboarddata.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/input/keyboarddata.h') diff --git a/src/input/keyboarddata.h b/src/input/keyboarddata.h index 87202e8f2..e6bafb61b 100644 --- a/src/input/keyboarddata.h +++ b/src/input/keyboarddata.h @@ -2079,7 +2079,14 @@ static const KeyData keyData[Input::KEY_TOTAL] = { Input::GRP_DEFAULT | Input::GRP_GUI, &ActionManager::nextCommandsTab, Input::KEY_NO_VALUE, 50, - COND_NOINPUT | COND_INGAME} + COND_NOINPUT | COND_INGAME}, + {"keyOpenTrade", + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_DEFAULT, + &ActionManager::openTrade, + Input::KEY_NO_VALUE, 50, + COND_GAME | COND_NOTARGET}, }; #endif // INPUT_KEYBOARDDATA_H -- cgit v1.2.3-60-g2f50