From 77a4cf27e7ad0ccf4e2245828cbd5f49ecc102a5 Mon Sep 17 00:00:00 2001
From: Andrei Karas <akaras@inbox.ru>
Date: Mon, 15 Aug 2016 23:16:42 +0300
Subject: Cast skills with offsets.

---
 src/actions/commands.cpp | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

(limited to 'src/actions')

diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index dc4d70765..e1779ec92 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -1135,6 +1135,7 @@ impHandler(skill)
         if (sz > 2)
             text = vect[2];
     }
+    // +++ add here also cast type and offsets
     if (text.empty())
     {
         skillDialog->useSkill(skillId,
@@ -1142,7 +1143,9 @@ impHandler(skill)
             level,
             false,
             "",
-            CastType::Default);
+            CastType::Default,
+            0,
+            0);
     }
     else
     {
@@ -1151,7 +1154,9 @@ impHandler(skill)
             level,
             true,
             text,
-            CastType::Default);
+            CastType::Default,
+            0,
+            0);
     }
     return true;
 }
-- 
cgit v1.2.3-70-g09d2