As Eddi mentioned this was a trunk issue which has been solved in r21442 by Rubidium.
Attached is the last version I have, pulled from my testfolder. Awarded subsidies no longer crash the patchpack -> tested.
I still need to review the code to see if I adapted the code correctly everywhere according to the recent changes in trunk, but I think most is fine.
The only difference with the previous version is that this one is bumped to trunk and the build_while_paused_in_scenario_editor patch is removed (trunk in r21430).
Changes had to be made in the departure boards patch (wallclock part).
For the most recent savegamebump, in table/settings.h:MagicBuzz wrote: I'm trying to fix the conflicts, but I'm not sure what I'm doing about the saveload compatibility : there is a bump in the trunk, and I don't know exactely how to manage it in Chillcore's patchpack.
So I didn't change anything, but savegame compatibility should be break, so I won't post the updated patch...
Code: Select all
- SDT_CONDVAR(GameSettings, construction.command_pause_level, SLE_UINT8,154, SL_MAX_VERSION, 0, ...
+ SDT_CONDVAR(GameSettings, construction.command_pause_level, SLE_UINT8,154, BEFORE_ADDING_PATCHES_SL, 0, ...
+ SDT_CONDVAR(GameSettings, construction.command_pause_level, SLE_UINT8,KEEP_COMPATIBLE_12_SV, SL_MAX_VERSION, 0, ...
When there are changes in afterload.cpp , eg. 'if (IsSavegameVersionBefore(147)) { ...', it is a bit more complicated (untill I figure out how to exclude later versions and include even later versions) that is where I messed up with recent trunk savegames compatibilty ...