diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-10-02 19:36:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-10-02 20:31:46 +0300 |
commit | 2596c142137a45d88a65431956436b9a5d466859 (patch) | |
tree | c6ee4f5de040329e9da2c74e9ce08b927fd04ba9 /src/gui | |
parent | 99771a1fb50286fdb0b511f425312503e657eddc (diff) | |
download | plus-2596c142137a45d88a65431956436b9a5d466859.tar.gz plus-2596c142137a45d88a65431956436b9a5d466859.tar.bz2 plus-2596c142137a45d88a65431956436b9a5d466859.tar.xz plus-2596c142137a45d88a65431956436b9a5d466859.zip |
Add new move to target mode for archers.
In this mode player not selecting closer targets.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/statuspopup.cpp | 5 | ||||
-rw-r--r-- | src/gui/statuswindow.cpp | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/statuspopup.cpp b/src/gui/statuspopup.cpp index fee6450df..a0c8e06d4 100644 --- a/src/gui/statuspopup.cpp +++ b/src/gui/statuspopup.cpp @@ -284,6 +284,11 @@ void StatusPopup::updateLabels() _("(A) moves to target in attack range"), keyboard.KEY_CHANGE_MOVE_TO_TARGET); break; + case 7: + setLabelText(mMoveToTargetType, + _("(a) archer attack range"), + keyboard.KEY_CHANGE_MOVE_TO_TARGET); + break; default: setLabelText(mMoveToTargetType, _("(?) move to target"), keyboard.KEY_CHANGE_MOVE_TO_TARGET); diff --git a/src/gui/statuswindow.cpp b/src/gui/statuswindow.cpp index 170fd6ab4..c746eb82d 100644 --- a/src/gui/statuswindow.cpp +++ b/src/gui/statuswindow.cpp @@ -702,6 +702,9 @@ void StatusWindow::updateStatusBar(ProgressBar *bar, bool percent A_UNUSED) case 6: str += translateLetter(N_("(A)")); break; + case 7: + str += translateLetter(N_("(a)")); + break; default: str += translateLetter(N_("(?)")); break; |