save: try to save correctly SHOPSTOCK...

This commit is contained in:
Laurent Alonso(fr)
2020-05-17 13:59:47 +02:00
committed by Celtic Minstrel
parent 80daf2266b
commit 243b9fda19

View File

@@ -732,7 +732,7 @@ void cParty::writeTo(std::ostream& file) const {
file << "QUEST " << p.first << ' ' << p.second.status << ' ' << p.second.start << ' ' << p.second.source << '\n';
for(auto p : store_limited_stock) {
for(auto p2 : p.second) {
file << "SHOPSTOCK " << p.first << p2.first << p2.second;
file << "SHOPSTOCK " << p.first << ' ' << p2.first << ' ' << p2.second << '\n';
}
}
for(auto iter = campaign_flags.begin(); iter != campaign_flags.end(); iter++){