From 8f7889b79ce4b189390c33d23b338afb078bef38 Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 22 Jan 2015 12:04:07 +0100 Subject: Removed name distinction between (sql) mob/item/mob_skill db and db_re variants - Since there (currently and in future) is no difference between the table structure for renewal and pre-renewal databases, it makes no sense to have extra code that makes a distinction between their names. A server will always use either one or the other, never both at the same time. - If you have a mob_db_re, mob_skill_db_re and/or item_db_re table, please rename it to mob_db, mob_skill_db and/or item_db_re, respectively. - No upgrade script provided. I'd like to remind everyone that these tables are optional (and deprecated), and they are only offered for convenience for those who need them for web control panels and similar software. Signed-off-by: Haru --- src/map/itemdb.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/map/itemdb.c') diff --git a/src/map/itemdb.c b/src/map/itemdb.c index 6559005a2..fb6bcc730 100644 --- a/src/map/itemdb.c +++ b/src/map/itemdb.c @@ -2033,11 +2033,7 @@ void itemdb_read(bool minimal) { if (map->db_use_sql_item_db) { const char* item_db_name[] = { -#ifdef RENEWAL - map->item_db_re_db, -#else // not RENEWAL map->item_db_db, -#endif // RENEWAL map->item_db2_db }; for(i = 0; i < ARRAYLENGTH(item_db_name); i++) -- cgit v1.2.3-60-g2f50