From e2f1bca4010b26d9679fec7f249fe82c1a66e6c3 Mon Sep 17 00:00:00 2001 From: Aleos Date: Tue, 30 Jun 2020 10:42:54 -0400 Subject: [PATCH] Fixes MF_PVP_NIGHTMAREDROP not clearing on reload (#5160) * Fixes MF_PVP_NIGHTMAREDROP not being cleared during a script reload and resulting in the drop list reaching the max size. --- src/map/map.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/map/map.cpp b/src/map/map.cpp index 075f290795..43c84dcb70 100644 --- a/src/map/map.cpp +++ b/src/map/map.cpp @@ -3649,6 +3649,7 @@ void map_flags_init(void){ mapdata->flag.clear(); mapdata->flag.reserve(MF_MAX); // Reserve the bucket size + mapdata->drop_list.clear(); args.flag_val = 100; // additional mapflag data