From 735b763ed55c8cf9aca3ddeb6b469ce43896bf7d Mon Sep 17 00:00:00 2001 From: Kenpachi Developer Date: Wed, 11 Mar 2020 21:04:42 +0100 Subject: Add map_session_data->autocast.itemskill_* assignments --- src/map/pc.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/map/pc.c') diff --git a/src/map/pc.c b/src/map/pc.c index 0981cdee9..ebba015a2 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -5349,6 +5349,10 @@ static int pc_itemskill_clear(struct map_session_data *sd) sd->autocast.type = AUTOCAST_NONE; sd->autocast.skill_id = 0; sd->autocast.skill_lv = 0; + sd->autocast.itemskill_conditions_checked = false; + sd->autocast.itemskill_check_conditions = false; + sd->autocast.itemskill_instant_cast = false; + sd->autocast.itemskill_cast_on_self = false; sd->itemskill_id = 0; sd->itemskill_lv = 0; sd->state.itemskill_conditions_checked = 0; -- cgit v1.2.3-70-g09d2