summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-03-11 21:35:47 +0100
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-03-14 22:35:09 +0100
commitb6ecc4bf45b87261f4269e7d61683126c40780f1 (patch)
tree7118d637d52610f004287008252d4a5eac401575 /src/map/atcommand.c
parent0a1982baa30e29431622c1a4f52668756d563214 (diff)
downloadhercules-b6ecc4bf45b87261f4269e7d61683126c40780f1.tar.gz
hercules-b6ecc4bf45b87261f4269e7d61683126c40780f1.tar.bz2
hercules-b6ecc4bf45b87261f4269e7d61683126c40780f1.tar.xz
hercules-b6ecc4bf45b87261f4269e7d61683126c40780f1.zip
Add pc_autocast_clear() function calls
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 410cd7af7..d3368c3b0 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -5671,6 +5671,8 @@ ACMD(useskill)
return false;
}
+ pc->autocast_clear(sd);
+
if (skill_id >= HM_SKILLBASE && skill_id < HM_SKILLBASE+MAX_HOMUNSKILL
&& sd->hd && homun_alive(sd->hd)) // (If used with @useskill, put the homunc as dest)
bl = &sd->hd->bl;