diff options
author | Haruna <haru@dotalux.com> | 2015-10-17 16:27:23 +0200 |
---|---|---|
committer | Haruna <haru@dotalux.com> | 2015-10-17 16:27:23 +0200 |
commit | fff8af91e207205ff9c7cdd0fc95431c17a12329 (patch) | |
tree | 9e08e0f900515ad1ac8cf2d243d190572e24955d | |
parent | c35b94d29ed9d315298cdd71a2a97a135b51c5cf (diff) | |
parent | 54f34f9f772f49913370f46d2a6628af6c6c6d6b (diff) | |
download | hercules-fff8af91e207205ff9c7cdd0fc95431c17a12329.tar.gz hercules-fff8af91e207205ff9c7cdd0fc95431c17a12329.tar.bz2 hercules-fff8af91e207205ff9c7cdd0fc95431c17a12329.tar.xz hercules-fff8af91e207205ff9c7cdd0fc95431c17a12329.zip |
Merge pull request #799 from 4144/fixwall
Fix crash while removing invisible wall.
-rw-r--r-- | src/map/map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c index b142ed1f3..c64ab86b9 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -5874,7 +5874,7 @@ int do_init(int argc, char *argv[]) map->nick_db = idb_alloc(DB_OPT_BASE); map->charid_db = idb_alloc(DB_OPT_BASE); map->regen_db = idb_alloc(DB_OPT_BASE); // efficient status_natural_heal processing - map->iwall_db = strdb_alloc(DB_OPT_RELEASE_DATA,2*NAME_LENGTH+2+1); // [Zephyrus] Invisible Walls + map->iwall_db = strdb_alloc(DB_OPT_DUP_KEY|DB_OPT_RELEASE_DATA, 2*NAME_LENGTH+2+1); // [Zephyrus] Invisible Walls map->zone_db = strdb_alloc(DB_OPT_DUP_KEY|DB_OPT_RELEASE_DATA, MAP_ZONE_NAME_LENGTH); map->iterator_ers = ers_new(sizeof(struct s_mapiterator),"map.c::map_iterator_ers",ERS_OPT_CLEAN|ERS_OPT_FLEX_CHUNK); |