|
@@ -1723,8 +1723,7 @@ static bool mob_ai_sub_hard(struct mob_data *md, t_tick tick)
|
|
|
)) { //No valid target
|
|
|
if (mob_warpchase(md, tbl))
|
|
|
return true; //Chasing this target.
|
|
|
- if(md->ud.walktimer != INVALID_TIMER && (!can_move || md->ud.walkpath.path_pos <= battle_config.mob_chase_refresh)
|
|
|
- && (tbl || md->ud.walkpath.path_pos == 0))
|
|
|
+ if (tbl && md->ud.walktimer != INVALID_TIMER && (!can_move || md->ud.walkpath.path_pos <= battle_config.mob_chase_refresh))
|
|
|
return true; //Walk at least "mob_chase_refresh" cells before dropping the target unless target is non-existent
|
|
|
mob_unlocktarget(md, tick); //Unlock target
|
|
|
tbl = NULL;
|