summaryrefslogtreecommitdiff
path: root/src/common/mapindex.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-05-17 14:12:06 -0300
committershennetsind <ind@henn.et>2013-05-17 14:12:06 -0300
commit6666609abcfa09f09a7b24c2b7f23fe83acc6585 (patch)
treebec3a846c14fe9a63e86e6620fc0ca153f70b0ec /src/common/mapindex.c
parent346dd126a746335d8839b8066a90f368edd554be (diff)
downloadhercules-6666609abcfa09f09a7b24c2b7f23fe83acc6585.tar.gz
hercules-6666609abcfa09f09a7b24c2b7f23fe83acc6585.tar.bz2
hercules-6666609abcfa09f09a7b24c2b7f23fe83acc6585.tar.xz
hercules-6666609abcfa09f09a7b24c2b7f23fe83acc6585.zip
Fixed Look_Base not refreshing skill tree
special thanks to Beret~! Signed-off-by: shennetsind <ind@henn.et>
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 b693fe12d..83de21b2b 100644
--- a/src/common/mapindex.c
+++ b/src/common/mapindex.c
@@ -148,7 +148,7 @@ void mapindex_init(void) {
exit(EXIT_FAILURE); //Server can't really run without this file.
}
memset (&indexes, 0, sizeof (indexes));
- mapindex_db = strdb_alloc(DB_OPT_RELEASE_KEY, MAP_NAME_LENGTH);
+ mapindex_db = strdb_alloc(DB_OPT_DUP_KEY, MAP_NAME_LENGTH);
while(fgets(line, sizeof(line), fp)) {
if(line[0] == '/' && line[1] == '/')
continue;