diff options
-rw-r--r-- | src/common/mapindex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/mapindex.c b/src/common/mapindex.c index 336368604..4649e299d 100644 --- a/src/common/mapindex.c +++ b/src/common/mapindex.c @@ -121,7 +121,7 @@ unsigned short mapindex_name2id(const char* name) { mapindex_getmapname(name, map_name); - if( (i = strdb_iget(mapindex_db, name)) ) + if( (i = strdb_iget(mapindex_db, map_name)) ) return i; ShowDebug("mapindex_name2id: Map \"%s\" not found in index list!\n", map_name); |