As I said before, there are no possible map loading crashes related to this branch. This code is only executed while saving a map, and then the only thing it does is write the "artifacts" tag.
I tried and failed to just iterate over the fields - seems like there is no way to safely get the size of a std::unique_ptr<array[]>. Why is it an array and not a vector anyway? -- https://code.launchpad.net/~widelands-dev/widelands/bug-1525706-artifacts/+merge/285566 Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/bug-1525706-artifacts. _______________________________________________ Mailing list: https://launchpad.net/~widelands-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~widelands-dev More help : https://help.launchpad.net/ListHelp

