diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-09-21 01:44:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-09-21 01:44:50 +0300 |
commit | 52e799ac652c6edd48d250f814e259af44f92329 (patch) | |
tree | 655a6cc9adc5a1f7179857d9d31c979ed39a1596 /src/actions | |
parent | c4a9748e841fd8620e7e9d230aad8964f424bb08 (diff) | |
download | manaverse-52e799ac652c6edd48d250f814e259af44f92329.tar.gz manaverse-52e799ac652c6edd48d250f814e259af44f92329.tar.bz2 manaverse-52e799ac652c6edd48d250f814e259af44f92329.tar.xz manaverse-52e799ac652c6edd48d250f814e259af44f92329.zip |
Add option for auto target skill to closest target.
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/actions.cpp | 3 |
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; } |