diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-27 00:13:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-03-27 00:13:01 +0300 |
commit | 2fd442ec90a095d4ea3dd1273c108e9af7ff20df (patch) | |
tree | 224b4f76b9e28ce101f6048922447b70b808d8ab | |
parent | f247812a28c090b0edaf0339144f8c402b829ccb (diff) | |
download | manaplus-2fd442ec90a095d4ea3dd1273c108e9af7ff20df.tar.gz manaplus-2fd442ec90a095d4ea3dd1273c108e9af7ff20df.tar.bz2 manaplus-2fd442ec90a095d4ea3dd1273c108e9af7ff20df.tar.xz manaplus-2fd442ec90a095d4ea3dd1273c108e9af7ff20df.zip |
Fix codition for direction keys.
-rw-r--r-- | src/keyboarddata.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/keyboarddata.h b/src/keyboarddata.h index bfb0dbed1..0ab325c52 100644 --- a/src/keyboarddata.h +++ b/src/keyboarddata.h @@ -868,25 +868,25 @@ static KeyData const keyData[KeyboardConfig::KEY_TOTAL] = { KeyboardConfig::GRP_DEFAULT, &ActionManager::directUp, KeyboardConfig::KEY_NO_VALUE, 50, - COND_DEFAULT}, + COND_GAME}, {"keyDirectDown", SDLK_SEMICOLON, N_("Direct Down"), KeyboardConfig::GRP_DEFAULT, &ActionManager::directDown, KeyboardConfig::KEY_NO_VALUE, 50, - COND_DEFAULT}, + COND_GAME}, {"keyDirectLeft", SDLK_k, N_("Direct Left"), KeyboardConfig::GRP_DEFAULT, &ActionManager::directLeft, KeyboardConfig::KEY_NO_VALUE, 50, - COND_DEFAULT}, + COND_GAME}, {"keyDirectRight", SDLK_QUOTE, N_("Direct Right"), KeyboardConfig::GRP_DEFAULT, &ActionManager::directRight, KeyboardConfig::KEY_NO_VALUE, 50, - COND_DEFAULT}, + COND_GAME}, {"keyCrazyMoves", SDLK_SLASH, N_("Crazy moves"), KeyboardConfig::GRP_DEFAULT, |