summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-23 16:30:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-23 16:37:35 +0300
commit9f05a455bc052317260d859f82e80d36f4f21991 (patch)
tree82ab7e7731004d60e8d11521ac07fdacf0e155fb /src/gui
parent7314f563ed9390760d514d8708948c7863240e0e (diff)
downloadmv-9f05a455bc052317260d859f82e80d36f4f21991.tar.gz
mv-9f05a455bc052317260d859f82e80d36f4f21991.tar.bz2
mv-9f05a455bc052317260d859f82e80d36f4f21991.tar.xz
mv-9f05a455bc052317260d859f82e80d36f4f21991.zip
In gamemodifiers simplify change methods.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/popups/statuspopup.cpp2
-rw-r--r--src/gui/windows/statuswindow.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/popups/statuspopup.cpp b/src/gui/popups/statuspopup.cpp
index 16ea93e42..235d2aee6 100644
--- a/src/gui/popups/statuspopup.cpp
+++ b/src/gui/popups/statuspopup.cpp
@@ -158,7 +158,7 @@ void StatusPopup::updateLabels() const
InputAction::CHANGE_PICKUP_TYPE);
setLabelText(8, modifiers->getMapDrawTypeString(),
InputAction::PATHFIND);
- setLabelText(9, modifiers->getMagicAttackString(),
+ setLabelText(9, modifiers->getMagicAttackTypeString(),
InputAction::SWITCH_MAGIC_ATTACK);
setLabelText(10, modifiers->getPvpAttackTypeString(),
InputAction::SWITCH_PVP_ATTACK);
diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp
index cdbf33fe8..adde623bb 100644
--- a/src/gui/windows/statuswindow.cpp
+++ b/src/gui/windows/statuswindow.cpp
@@ -650,7 +650,7 @@ void StatusWindow::updateStatusBar(ProgressBar *const bar,
.append(" ").append(translateLetter2(
modifiers->getAttackWeaponTypeString()))
.append(translateLetter2(modifiers->getAttackTypeString()))
- .append(translateLetter2(modifiers->getMagicAttackString()))
+ .append(translateLetter2(modifiers->getMagicAttackTypeString()))
.append(translateLetter2(modifiers->getPvpAttackTypeString()))
.append(" ").append(translateLetter2(
modifiers->getQuickDropCounterString()))