summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-03-11 21:24:28 +0100
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-03-14 22:35:08 +0100
commit0a1982baa30e29431622c1a4f52668756d563214 (patch)
treeea7a6223ea80a6c09e56230d931407576dc28f41 /src/map/pc.c
parent735b763ed55c8cf9aca3ddeb6b469ce43896bf7d (diff)
downloadhercules-0a1982baa30e29431622c1a4f52668756d563214.tar.gz
hercules-0a1982baa30e29431622c1a4f52668756d563214.tar.bz2
hercules-0a1982baa30e29431622c1a4f52668756d563214.tar.xz
hercules-0a1982baa30e29431622c1a4f52668756d563214.zip
Rename function pc_itemskill_clear() to pc_autocast_clear()
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index ebba015a2..073c16029 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -5337,12 +5337,12 @@ static int pc_useitem(struct map_session_data *sd, int n)
}
/**
- * Sets state flags and helper variables, used by itemskill() script command, to 0.
+ * Unsets a character's auto-cast related data.
*
* @param sd The character's session data.
* @return 0 if parameter sd is NULL, otherwise 1.
*/
-static int pc_itemskill_clear(struct map_session_data *sd)
+static int pc_autocast_clear(struct map_session_data *sd)
{
nullpo_ret(sd);
@@ -12733,7 +12733,7 @@ void pc_defaults(void)
pc->unequipitem_pos = pc_unequipitem_pos;
pc->checkitem = pc_checkitem;
pc->useitem = pc_useitem;
- pc->itemskill_clear = pc_itemskill_clear;
+ pc->autocast_clear = pc_autocast_clear;
pc->skillatk_bonus = pc_skillatk_bonus;
pc->skillheal_bonus = pc_skillheal_bonus;