summaryrefslogtreecommitdiff
path: root/src/gui/statuspopup.cpp
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/statuspopup.cpp
parent99771a1fb50286fdb0b511f425312503e657eddc (diff)
downloadmv-2596c142137a45d88a65431956436b9a5d466859.tar.gz
mv-2596c142137a45d88a65431956436b9a5d466859.tar.bz2
mv-2596c142137a45d88a65431956436b9a5d466859.tar.xz
mv-2596c142137a45d88a65431956436b9a5d466859.zip
Add new move to target mode for archers.
In this mode player not selecting closer targets.
Diffstat (limited to 'src/gui/statuspopup.cpp')
-rw-r--r--src/gui/statuspopup.cpp5
1 files changed, 5 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);