summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-25 10:24:53 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-25 10:24:53 +0000
commitd290cfb6040d0a29c48ba42d8d6df33bec697b55 (patch)
treeb6e293e0d677d9867729be7a86ca80c248708465 /src/map/map.c
parent57edb71dc13e63b5b62dcb2eb8d5fe43d8debba6 (diff)
downloadhercules-d290cfb6040d0a29c48ba42d8d6df33bec697b55.tar.gz
hercules-d290cfb6040d0a29c48ba42d8d6df33bec697b55.tar.bz2
hercules-d290cfb6040d0a29c48ba42d8d6df33bec697b55.tar.xz
hercules-d290cfb6040d0a29c48ba42d8d6df33bec697b55.zip
* Fixed the double free's caused by r11290 (wrong option in the database constructors).
Readded tick cache variables (deleted by mistake). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11292 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 9fc3d9fca..a60e059b4 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -3400,8 +3400,8 @@ int do_init(int argc, char *argv[])
id_db = db_alloc(__FILE__,__LINE__,DB_INT,DB_OPT_BASE,sizeof(int));
pc_db = db_alloc(__FILE__,__LINE__,DB_INT,DB_OPT_BASE,sizeof(int)); //Added for reliable map_id2sd() use. [Skotlex]
map_db = db_alloc(__FILE__,__LINE__,DB_UINT,DB_OPT_BASE,sizeof(int));
- nick_db = db_alloc(__FILE__,__LINE__,DB_INT,DB_OPT_RELEASE_DATA,sizeof(int));
- charid_db = db_alloc(__FILE__,__LINE__,DB_INT,DB_OPT_RELEASE_DATA,sizeof(int));
+ nick_db = db_alloc(__FILE__,__LINE__,DB_INT,DB_OPT_BASE,sizeof(int));
+ charid_db = db_alloc(__FILE__,__LINE__,DB_INT,DB_OPT_BASE,sizeof(int));
#ifndef TXT_ONLY
map_sql_init();
#endif /* not TXT_ONLY */