From e0ad83ebd65549e5340245a2608985c5386574c2 Mon Sep 17 00:00:00 2001 From: "Laurent Alonso(fr)" Date: Mon, 18 May 2020 06:51:16 +0200 Subject: [PATCH] do not forget to clear store_limited_stock when a scenario begins... --- src/universe/universe.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/universe/universe.cpp b/src/universe/universe.cpp index 59ab41b3..446f3e9a 100644 --- a/src/universe/universe.cpp +++ b/src/universe/universe.cpp @@ -1350,6 +1350,7 @@ void cUniverse::enter_scenario(const std::string& name) { pop.which_town = 200; for(short i = 0; i < 10; i++) party.out_c[i].exists = false; + party.store_limited_stock.clear(); party.magic_store_items.clear(); // TODO: Now uncertain if the journal should really persist // univ.party.journal.clear();