summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-19 14:42:52 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-19 14:42:52 +0000
commit923710723574716b15bc2e5f116b2741c5b9b6bd (patch)
tree42408d5606552b7a7f93359bc9392d27a9af439d /src/map/map.c
parent5333c3d2c92c21b0ffc709acae24e32129cd8aec (diff)
downloadhercules-923710723574716b15bc2e5f116b2741c5b9b6bd.tar.gz
hercules-923710723574716b15bc2e5f116b2741c5b9b6bd.tar.bz2
hercules-923710723574716b15bc2e5f116b2741c5b9b6bd.tar.xz
hercules-923710723574716b15bc2e5f116b2741c5b9b6bd.zip
- 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
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c5
1 files changed, 5 insertions, 0 deletions
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);