diff options
author | DracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-01-27 05:04:10 +0000 |
---|---|---|
committer | DracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-01-27 05:04:10 +0000 |
commit | d57579a58d5035d48fc1f7a42c833cb47ae571b9 (patch) | |
tree | 69c54095f9cfc977367b6cc3e76b7ec26bed1412 /src/map/map.c | |
parent | 8c819cb2129210737155474c980be5ed157d4979 (diff) | |
download | hercules-d57579a58d5035d48fc1f7a42c833cb47ae571b9.tar.gz hercules-d57579a58d5035d48fc1f7a42c833cb47ae571b9.tar.bz2 hercules-d57579a58d5035d48fc1f7a42c833cb47ae571b9.tar.xz hercules-d57579a58d5035d48fc1f7a42c833cb47ae571b9.zip |
Removed useless read-from-GRF features
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9725 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/map/map.c b/src/map/map.c index 6d1bb490d..b8e733499 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -3696,12 +3696,6 @@ void do_final(void) { //we probably don't need the cache open at all times 'yet', so this is closed by mapsource_final [celest] //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] - if((battle_config.cardillust_read_grffile || battle_config.item_equip_override_grffile || - battle_config.item_slots_override_grffile || battle_config.item_name_override_grffile || - battle_config.skill_sp_override_grffile)) - grfio_final(); - for (i = 0; i < map_num; i++) if (map[i].m >= 0) map_foreachinmap(cleanup_sub, i, BL_ALL); @@ -3991,17 +3985,6 @@ int do_init(int argc, char *argv[]) { if (battle_config.pk_mode == 1) ShowNotice("Server is running on '"CL_WHITE"PK Mode"CL_RESET"'.\n"); - if(!(battle_config.cardillust_read_grffile || battle_config.item_equip_override_grffile || - battle_config.item_slots_override_grffile || battle_config.item_name_override_grffile || - battle_config.skill_sp_override_grffile)) - grfio_final(); // Unused after reading all maps. - - //However, some reload functions still use it,disable them. - //battle_config.cardillust_read_grffile = - //battle_config.item_equip_override_grffile = - //battle_config.item_slots_override_grffile = - //battle_config.item_name_override_grffile = 0; - ShowStatus("Server is '"CL_GREEN"ready"CL_RESET"' and listening on port '"CL_WHITE"%d"CL_RESET"'.\n\n", map_port); return 0; |