diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-22 21:30:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-22 21:30:14 +0300 |
commit | e3f651e65f5a486f47ae81fe3ba5e68e8c48f79e (patch) | |
tree | 643ce9eb26f4da078de5afe1d3e8b40eba901f23 /src/itemshortcut.cpp | |
parent | 51583912458f8eb0b080edabf3af5f384a205055 (diff) | |
download | mv-e3f651e65f5a486f47ae81fe3ba5e68e8c48f79e.tar.gz mv-e3f651e65f5a486f47ae81fe3ba5e68e8c48f79e.tar.bz2 mv-e3f651e65f5a486f47ae81fe3ba5e68e8c48f79e.tar.xz mv-e3f651e65f5a486f47ae81fe3ba5e68e8c48f79e.zip |
Allow drag skill with any selected level to shortcuts window.
Diffstat (limited to 'src/itemshortcut.cpp')
-rw-r--r-- | src/itemshortcut.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/itemshortcut.cpp b/src/itemshortcut.cpp index 681c4c0f5..7c980ad02 100644 --- a/src/itemshortcut.cpp +++ b/src/itemshortcut.cpp @@ -142,7 +142,8 @@ void ItemShortcut::useItem(const int index) const else if (skillDialog) { skillDialog->useItem(itemId, - fromBool(config.getBoolValue("skillAutotarget"), AutoTarget)); + fromBool(config.getBoolValue("skillAutotarget"), AutoTarget), + toInt(itemColor, int)); } } } |