summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-02-14 23:34:40 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-02-14 23:34:40 +0000
commit80261bf3feceb87f5725dc93c838930d3eb2f407 (patch)
treeababa4e0f8c83f77249dbe7526aca56713376291
parent522e0a2b40e5c97f7c1b73b91c6f1406dc206969 (diff)
downloadhercules-80261bf3feceb87f5725dc93c838930d3eb2f407.tar.gz
hercules-80261bf3feceb87f5725dc93c838930d3eb2f407.tar.bz2
hercules-80261bf3feceb87f5725dc93c838930d3eb2f407.tar.xz
hercules-80261bf3feceb87f5725dc93c838930d3eb2f407.zip
* 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
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/map/map.c1
2 files changed, 2 insertions, 0 deletions
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 )