summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-22 21:30:14 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-22 21:30:14 +0300
commite3f651e65f5a486f47ae81fe3ba5e68e8c48f79e (patch)
tree643ce9eb26f4da078de5afe1d3e8b40eba901f23 /src/actions
parent51583912458f8eb0b080edabf3af5f384a205055 (diff)
downloadmv-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/actions')
-rw-r--r--src/actions/actions.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index fc45b440f..9e1d055ac 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -1521,7 +1521,8 @@ impHandler(useItem)
else if (skillDialog)
{
skillDialog->useItem(itemId,
- fromBool(config.getBoolValue("skillAutotarget"), AutoTarget));
+ fromBool(config.getBoolValue("skillAutotarget"), AutoTarget),
+ 0);
}
return true;
}