From 12ca79c53b53d2d394a79306598397ee62ce9fc7 Mon Sep 17 00:00:00 2001 From: momacabu Date: Sat, 24 Nov 2012 03:12:35 +0000 Subject: 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 --- src/common/mapindex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3-60-g2f50