diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-14 21:24:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-14 22:55:08 +0300 |
commit | 8d0dc6e707c470ccd2d3a3d4e44cfdee0ed890d9 (patch) | |
tree | 609b5baed396ca34d9199bd8e7a577e6ef7a1759 /src/gui/windows/skilldialog.cpp | |
parent | 0204a75a049d6819719cf41ac92116012ed50d86 (diff) | |
download | mv-8d0dc6e707c470ccd2d3a3d4e44cfdee0ed890d9.tar.gz mv-8d0dc6e707c470ccd2d3a3d4e44cfdee0ed890d9.tar.bz2 mv-8d0dc6e707c470ccd2d3a3d4e44cfdee0ed890d9.tar.xz mv-8d0dc6e707c470ccd2d3a3d4e44cfdee0ed890d9.zip |
Remove default parameters from useSkill method in SkillDialog.
Diffstat (limited to 'src/gui/windows/skilldialog.cpp')
-rw-r--r-- | src/gui/windows/skilldialog.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp index 5df9428ce..2904ea525 100644 --- a/src/gui/windows/skilldialog.cpp +++ b/src/gui/windows/skilldialog.cpp @@ -176,7 +176,9 @@ void SkillDialog::action(const ActionEvent &event) const SkillInfo *const info = tab->getSelectedInfo(); useSkill(info, fromBool(config.getBoolValue("skillAutotarget"), AutoTarget), - info->customSelectedLevel); + info->customSelectedLevel, + info->useTextParameter, + std::string()); } } else if (eventId == "close") @@ -626,7 +628,7 @@ void SkillDialog::useItem(const int itemId, const SkillInfo *const info = (*it).second; if (data.empty()) { - useSkill(info, autoTarget, level); + useSkill(info, autoTarget, level, false, std::string()); } else if (data.size() > 1) { |