summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-10-02 19:36:43 +0300
committerAndrei Karas <akaras@inbox.ru>2011-10-02 20:31:46 +0300
commit2596c142137a45d88a65431956436b9a5d466859 (patch)
treec6ee4f5de040329e9da2c74e9ce08b927fd04ba9 /src/gui
parent99771a1fb50286fdb0b511f425312503e657eddc (diff)
downloadplus-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.cpp5
-rw-r--r--src/gui/statuswindow.cpp3
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;