summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 09790b643..d358e9979 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -1070,7 +1070,7 @@ int unit_skilluse_id2(struct block_list *src, int target_id, short skill_num, sh
ud->state.skillcastcancel = 0;
ud->canact_tick = tick + casttime + 100;
- if ( sd )
+ if ( battle_config.display_status_timers && sd )
clif_status_change(src, SI_ACTIONDELAY, 1, ud->canact_tick);
ud->skilltarget = target_id;
ud->skillx = 0;
@@ -1177,7 +1177,7 @@ int unit_skilluse_pos2( struct block_list *src, short skill_x, short skill_y, sh
ud->state.skillcastcancel=0;
ud->canact_tick = tick + casttime + 100;
- if ( sd )
+ if ( battle_config.display_status_timers && sd )
clif_status_change(src, SI_ACTIONDELAY, 1, ud->canact_tick);
ud->skillid = skill_num;
ud->skilllv = skill_lv;
@@ -1595,8 +1595,8 @@ int unit_skillcastcancel(struct block_list *bl,int type)
}
ud->canact_tick = tick;
- if ( sd )
- clif_status_change(bl, SI_ACTIONDELAY, 1, ud->canact_tick);
+ if ( battle_config.display_status_timers && sd )
+ clif_status_change(bl, SI_ACTIONDELAY, 0, 0);
if(type&1 && sd)
skill = sd->skillid_old;