diff options
Diffstat (limited to 'src/map/unit.c')
-rw-r--r-- | src/map/unit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/unit.c b/src/map/unit.c index 3defad727..e04244469 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -733,9 +733,9 @@ int unit_skilluse_id2(struct block_list *src, int target_id, int skill_num, int if(status_isdead(src)) return 0; // 死んでいないか - if( BL_CAST( BL_PC, src, sd ) ) { + if( BL_CAST( BL_PC, src, sd ) ) ud = &sd->ud; - } else + else ud = unit_bl2ud(src); if(ud == NULL) return 0; |