From a154e6e99dfc72636770920f497d57c278b96996 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 11 Jan 2014 12:24:18 +0300 Subject: Block moving character by arrow keys in buy/sell dialogs. Check repeat keys for action condition. --- src/input/keyboarddata.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/input/keyboarddata.h') diff --git a/src/input/keyboarddata.h b/src/input/keyboarddata.h index 5dd9e84a3..74278777f 100644 --- a/src/input/keyboarddata.h +++ b/src/input/keyboarddata.h @@ -40,28 +40,28 @@ static const KeyData keyData[Input::KEY_TOTAL] = { Input::GRP_DEFAULT, &ActionManager::moveUp, Input::KEY_NO_VALUE, 50, - COND_GAME2}, + COND_ARROWKEYS}, {"keyMoveDown", INPUT_KEYBOARD, SDLK_DOWN, INPUT_UNKNOWN, Input::KEY_NO_VALUE, Input::GRP_DEFAULT, &ActionManager::moveDown, Input::KEY_NO_VALUE, 50, - COND_GAME2}, + COND_ARROWKEYS}, {"keyMoveLeft", INPUT_KEYBOARD, SDLK_LEFT, INPUT_UNKNOWN, Input::KEY_NO_VALUE, Input::GRP_DEFAULT, &ActionManager::moveLeft, Input::KEY_NO_VALUE, 50, - COND_GAME}, + COND_ARROWKEYS}, {"keyMoveRight", INPUT_KEYBOARD, SDLK_RIGHT, INPUT_UNKNOWN, Input::KEY_NO_VALUE, Input::GRP_DEFAULT, &ActionManager::moveRight, Input::KEY_NO_VALUE, 50, - COND_GAME}, + COND_ARROWKEYS}, {"keyAttack", INPUT_KEYBOARD, SDLK_LCTRL, INPUT_UNKNOWN, Input::KEY_NO_VALUE, -- cgit v1.2.3-70-g09d2