summaryrefslogtreecommitdiff
path: root/src/common/mapindex.c
diff options
context:
space:
mode:
authormomacabu <momacabu@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-24 03:12:35 +0000
committermomacabu <momacabu@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-24 03:12:35 +0000
commit12ca79c53b53d2d394a79306598397ee62ce9fc7 (patch)
tree106b10e03e3bd923cf533bb9a025f29695e95b4d /src/common/mapindex.c
parentcb78bae6df1f1a989ffd09a46f92445ee2049f03 (diff)
downloadhercules-12ca79c53b53d2d394a79306598397ee62ce9fc7.tar.gz
hercules-12ca79c53b53d2d394a79306598397ee62ce9fc7.tar.bz2
hercules-12ca79c53b53d2d394a79306598397ee62ce9fc7.tar.xz
hercules-12ca79c53b53d2d394a79306598397ee62ce9fc7.zip
Implemented @warp modification (tid:74181), it check if a map exists regardless of case-sensitivity. Also fixes bugreport:5719.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16956 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/mapindex.c')
-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);