diff options
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 5842cdc31..58b3878b1 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -9006,12 +9006,11 @@ int skill_sit (struct map_session_data *sd, int type) if (!flag) return 0; - if(type==1) { + if(type) { if (map_foreachinrange(skill_sit_count,&sd->bl, range, BL_PC, flag) > 1) map_foreachinrange(skill_sit_in,&sd->bl, range, BL_PC, flag); return 0; - } - else if(type==0) { + } else { if (map_foreachinrange(skill_sit_count,&sd->bl, range, BL_PC, flag) < 2) map_foreachinrange(skill_sit_out,&sd->bl, range, BL_PC, flag); return 0; |