From 923710723574716b15bc2e5f116b2741c5b9b6bd Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 19 May 2006 14:42:52 +0000 Subject: - Corrected number of water-ball hits when used by mobs and not consuming deluge cells when using lv1 (Thanks to Kyoki). - cardillust_read_grffile, item_equip_override_grffile, item_slots_override_grffile, and item_name_override_grffile are set to 0 after map-server loads to prevent crashes on item_db reloading. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6656 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/map.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/map/map.c') diff --git a/src/map/map.c b/src/map/map.c index dc79b1750..5dc4d25ba 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -3951,6 +3951,11 @@ int do_init(int argc, char *argv[]) { ShowNotice("Server is running on '"CL_WHITE"PK Mode"CL_RESET"'.\n"); 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); -- cgit v1.2.3-70-g09d2