summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
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 5dd1cbb6c..f77b22ddf 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -1493,7 +1493,8 @@ impHandler(useItem)
}
else if (skillDialog)
{
- skillDialog->useItem(itemId);
+ skillDialog->useItem(itemId,
+ fromBool(config.getBoolValue("skillAutotarget"), AutoTarget));
}
return true;
}