* grfio_final moved back to do_final since it's used by @reloaditemdb.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6666 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
Lance 2006-05-20 15:08:31 +00:00
parent fdfaf7ba79
commit 720879a767
2 changed files with 3 additions and 2 deletions

View File

@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/05/19 2006/05/19
* grfio_final moved back to do_final since it's used by @reloaditemdb. [Lance]
* jA1983 script.c buildin_menu fix. Thanks to End_of_exam. [Lance] * jA1983 script.c buildin_menu fix. Thanks to End_of_exam. [Lance]
* Abit of alterations to login-server. [Lance] * Abit of alterations to login-server. [Lance]
2006/05/19 2006/05/19

View File

@ -3658,7 +3658,7 @@ void do_final(void) {
//map_cache_close(); //map_cache_close();
// We probably don't need the grfio after server bootup 'yet' too. So this is closed near the end of do_init [Lance] // We probably don't need the grfio after server bootup 'yet' too. So this is closed near the end of do_init [Lance]
//grfio_final(); grfio_final(); // Reverted since itemdb refresh needs it temperory.
for (i = 0; i < map_num; i++) for (i = 0; i < map_num; i++)
if (map[i].m >= 0) if (map[i].m >= 0)
@ -3950,7 +3950,7 @@ int do_init(int argc, char *argv[]) {
if (battle_config.pk_mode == 1) if (battle_config.pk_mode == 1)
ShowNotice("Server is running on '"CL_WHITE"PK Mode"CL_RESET"'.\n"); ShowNotice("Server is running on '"CL_WHITE"PK Mode"CL_RESET"'.\n");
grfio_final(); // Unused after reading all maps. //grfio_final(); // Unused after reading all maps.
//However, some reload functions still use it,disable them. //However, some reload functions still use it,disable them.
battle_config.cardillust_read_grffile = battle_config.cardillust_read_grffile =
battle_config.item_equip_override_grffile = battle_config.item_equip_override_grffile =