I think I found a (at least prettier) solution for the problem:

- Increase the packet number ob the portdock without changing anything else in 
the class. There can't be an expedition without a portdock and the dock is 
loaded first. So old games will fail gracefully when loading the new save game.
- Implement the above hack in the expedition. New games are then able to load 
new and old files, old games never come this far.

Note: I haven't tried out anything yet.
-- 
https://code.launchpad.net/~widelands-dev/widelands/bug-1191295-no-seafaring-builder/+merge/315525
Your team Widelands Developers is requested to review the proposed merge of 
lp:~widelands-dev/widelands/bug-1191295-no-seafaring-builder into lp:widelands.

_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to     : widelands-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~widelands-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to