summaryrefslogtreecommitdiff
path: root/src/keyboardconfig.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-28 18:48:09 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-28 18:48:09 +0300
commit36f19b67df5ba7b00e91d9a234088f276b8bf513 (patch)
treee6bcba65ee03e34bcb0b7566090e17798cf182ce /src/keyboardconfig.cpp
parent39c0baaad44c49c41ac9311bcf39c2844a49e921 (diff)
downloadplus-36f19b67df5ba7b00e91d9a234088f276b8bf513.tar.gz
plus-36f19b67df5ba7b00e91d9a234088f276b8bf513.tar.bz2
plus-36f19b67df5ba7b00e91d9a234088f276b8bf513.tar.xz
plus-36f19b67df5ba7b00e91d9a234088f276b8bf513.zip
Add untarget key. By default unassigned.
It remove targeting but not stop server side attack.
Diffstat (limited to 'src/keyboardconfig.cpp')
-rw-r--r--src/keyboardconfig.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/keyboardconfig.cpp b/src/keyboardconfig.cpp
index f9831c18f..fdc8201ca 100644
--- a/src/keyboardconfig.cpp
+++ b/src/keyboardconfig.cpp
@@ -61,6 +61,8 @@ static KeyData const keyData[KeyboardConfig::KEY_TOTAL] = {
KeyboardConfig::GRP_DEFAULT},
{"keyTalk", SDLK_t, N_("Talk"), KeyboardConfig::GRP_DEFAULT},
{"keyTarget", SDLK_LSHIFT, N_("Stop Attack"), KeyboardConfig::GRP_DEFAULT},
+ {"keyUnTarget", KeyboardConfig::KEY_NO_VALUE,
+ N_("Untarget"), KeyboardConfig::GRP_DEFAULT},
{"keyTargetClosest", SDLK_a, N_("Target Closest"),
KeyboardConfig::GRP_DEFAULT},
{"keyTargetNPC", SDLK_n, N_("Target NPC"), KeyboardConfig::GRP_DEFAULT},