diff options
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index dacb57a75..d9f6fbc62 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -906,6 +906,14 @@ int skillnotok (int skillid, struct map_session_data *sd) clif_skill_fail(sd,skillid,0,0); return 1; } + case GD_EMERGENCYCALL: + if (!battle_config.emergency_call || + (map[sd->bl.m].flag.nowarpto && battle_config.emergency_call&1)) + { + clif_skill_fail(sd,skillid,0,0); + return 1; + } + break; } return (map[sd->bl.m].flag.noskill); } |