From 80261bf3feceb87f5725dc93c838930d3eb2f407 Mon Sep 17 00:00:00 2001 From: ai4rei Date: Mon, 14 Feb 2011 23:34:40 +0000 Subject: * Fixed drop list of map flag 'pvp_nightmaredrop' not getting cleared upon @reloadscript (bugreport:4282, follow up to r14668). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14706 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 1 + src/map/map.c | 1 + 2 files changed, 2 insertions(+) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index b39fec45c..a45a41649 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -1,6 +1,7 @@ Date Added 2011/02/14 + * Fixed drop list of map flag 'pvp_nightmaredrop' not getting cleared upon @reloadscript (bugreport:4282, follow up to r14668). [Ai4rei] * Fixed GMs with GM level equal to 'lowest_gm_level' being treated as normal players in 'gm_can_party' check (bugreport:4162, since r13143). [Ai4rei] * Fixed a crash when script 'npctalk' is given too long string (bugreport:4759, related r2145). [Ai4rei] - Fixed related buffer overflows in message related clif functions (since r1182, r14270). diff --git a/src/map/map.c b/src/map/map.c index e3cada963..2cd146ee4 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -2781,6 +2781,7 @@ void map_flags_init(void) map[i].nocommand = 0; // nocommand mapflag level map[i].bexp = 100; // per map base exp multiplicator map[i].jexp = 100; // per map job exp multiplicator + memset(map[i].drop_list, 0, sizeof(map[i].drop_list)); // pvp nightmare drop list // adjustments if( battle_config.pk_mode ) -- cgit v1.2.3-70-g09d2