From e3f651e65f5a486f47ae81fe3ba5e68e8c48f79e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 22 Nov 2015 21:30:14 +0300 Subject: Allow drag skill with any selected level to shortcuts window. --- src/itemshortcut.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/itemshortcut.cpp') 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)); } } } -- cgit v1.2.3-60-g2f50