diff options
-rw-r--r-- | src/map/pc.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/pc.cpp b/src/map/pc.cpp index 3784566..e4c3907 100644 --- a/src/map/pc.cpp +++ b/src/map/pc.cpp @@ -2653,6 +2653,12 @@ void pc_attack_timer(TimerData *, tick_t tick, BlockId id) if (sd->attack_spell_override) // [Fate] If we have an active attack spell, use that { + if (battle_config.player_attack_direction_change) + sd->dir = sd->head_dir = map_calc_dir(sd, bl->bl_x, bl->bl_y); + + if (sd->walktimer) + pc_stop_walking(sd, 1); + // call_spell_event_script argrec_t arg[1] = { |