summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/mapindex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/mapindex.c b/src/common/mapindex.c
index be2913c69..d46047833 100644
--- a/src/common/mapindex.c
+++ b/src/common/mapindex.c
@@ -125,7 +125,7 @@ unsigned short mapindex_name2id(const char* name)
for (i = 1; i < max_index; i++)
{
- if (strcmp(indexes[i].name,map_name)==0)
+ if (strcmpi(indexes[i].name,map_name)==0)
return i;
}
ShowDebug("mapindex_name2id: Map \"%s\" not found in index list!\n", map_name);