summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-14 22:25:15 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-14 23:06:07 +0300
commitf494a0e08ada527827fe41c7d98e2791f915ab40 (patch)
treeeda260d5fbdce3e328b69513e96a5eaf1fda76ee /src/actions/commands.cpp
parent8d0dc6e707c470ccd2d3a3d4e44cfdee0ed890d9 (diff)
downloadmanaplus-f494a0e08ada527827fe41c7d98e2791f915ab40.tar.gz
manaplus-f494a0e08ada527827fe41c7d98e2791f915ab40.tar.bz2
manaplus-f494a0e08ada527827fe41c7d98e2791f915ab40.tar.xz
manaplus-f494a0e08ada527827fe41c7d98e2791f915ab40.zip
Cast skill depend on selected cast type.
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r--src/actions/commands.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index 98a66df0e..1016ee6cb 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -1143,7 +1143,8 @@ impHandler(skill)
AutoTarget_true,
level,
false,
- "");
+ "",
+ CastType::Default);
}
else
{
@@ -1151,7 +1152,8 @@ impHandler(skill)
AutoTarget_true,
level,
true,
- text);
+ text,
+ CastType::Default);
}
return true;
}