diff options
author | shennetsind <ind@henn.et> | 2013-05-08 17:13:31 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-05-08 17:13:31 -0300 |
commit | 00d78a1b14f524fa7a4aea9322d9f4b5df65a4d1 (patch) | |
tree | dece1c715f8675ab4c33ac8547af3bde577b027e | |
parent | 43d82332dbfde84bf0348ef6c2921aaaef24634e (diff) | |
download | hercules-00d78a1b14f524fa7a4aea9322d9f4b5df65a4d1.tar.gz hercules-00d78a1b14f524fa7a4aea9322d9f4b5df65a4d1.tar.bz2 hercules-00d78a1b14f524fa7a4aea9322d9f4b5df65a4d1.tar.xz hercules-00d78a1b14f524fa7a4aea9322d9f4b5df65a4d1.zip |
Fixed mapindex_name2id
Special Thanks to Wolfed~! <3
Signed-off-by: shennetsind <ind@henn.et>
-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); |