summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-15 23:16:42 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-15 23:16:42 +0300
commit77a4cf27e7ad0ccf4e2245828cbd5f49ecc102a5 (patch)
tree7dd6e927cef6bcee83ceb897899cd87b863a6f87 /src/actions
parentf2b5d38744860360b4b592920c4732aea839ab75 (diff)
downloadmv-77a4cf27e7ad0ccf4e2245828cbd5f49ecc102a5.tar.gz
mv-77a4cf27e7ad0ccf4e2245828cbd5f49ecc102a5.tar.bz2
mv-77a4cf27e7ad0ccf4e2245828cbd5f49ecc102a5.tar.xz
mv-77a4cf27e7ad0ccf4e2245828cbd5f49ecc102a5.zip
Cast skills with offsets.
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/commands.cpp9
1 files changed, 7 insertions, 2 deletions
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;
}