diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-15 23:16:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-15 23:16:42 +0300 |
commit | 77a4cf27e7ad0ccf4e2245828cbd5f49ecc102a5 (patch) | |
tree | 7dd6e927cef6bcee83ceb897899cd87b863a6f87 /src/actions/commands.cpp | |
parent | f2b5d38744860360b4b592920c4732aea839ab75 (diff) | |
download | manaverse-77a4cf27e7ad0ccf4e2245828cbd5f49ecc102a5.tar.gz manaverse-77a4cf27e7ad0ccf4e2245828cbd5f49ecc102a5.tar.bz2 manaverse-77a4cf27e7ad0ccf4e2245828cbd5f49ecc102a5.tar.xz manaverse-77a4cf27e7ad0ccf4e2245828cbd5f49ecc102a5.zip |
Cast skills with offsets.
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r-- | src/actions/commands.cpp | 9 |
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; } |