do not forget to clear store_limited_stock when a scenario begins...

This commit is contained in:
Laurent Alonso(fr)
2020-05-18 06:51:16 +02:00
committed by Celtic Minstrel
parent cd1311b4d4
commit e0ad83ebd6

View File

@@ -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();