summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 2eda450a7..650594abc 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -9584,7 +9584,7 @@ int skill_castend_map (struct map_session_data *sd, uint16 skill_id, const char
unsigned short map_index;
map_index = mapindex->name2id(mapname);
- if(!mapindex) { //Given map not found?
+ if(!map_index) { //Given map not found?
clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
skill_failed(sd);
return 0;