diff options
Diffstat (limited to 'src/map/unit.c')
-rw-r--r-- | src/map/unit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c index 787b25765..f79a16664 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -855,7 +855,7 @@ int unit_skilluse_id2(struct block_list *src, int target_id, short skill_num, sh { //Check for skills that auto-select target case MO_CHAINCOMBO: if (sc && sc->data[SC_BLADESTOP]){ - if ((target=(struct block_list *)sc->data[SC_BLADESTOP]->val4) == NULL) + if ((target=map_id2bl(sc->data[SC_BLADESTOP]->val4)) == NULL) return 0; } break; |