[Bug] Crash on loading saved games (r2218 and above)
Whenever (more or less) I load a saved game in r2218 and above, I get the following or a similar error:
FATAL ERROR: planquadrat_t::rdwr()
Error while loading game: Unknown ground type '-104'
PRESS ANY KEY
I looked into the area of code affected with the debugger, and it did not seem to be related to any of the areas of code on which I have been working (simcity.cc/h and simhalt.cc/h), and so I do not think that it is anything that I have done with my patched version. The problem appears to originate from data corruption in the unzipping process somehow, which is odd, since there is nothing in the log about that being changed recently, and yet load and save worked fine for me until to-day.
I did try at one stage saving a new game, and loading that seemed to work, until I upgraded again to r2221, when loading even that failed. Starting a new game does not appear to be affected (in Pak64 nightly), but I get a similar error, oddly, when starting Pak96 Comic (but did not when I was running r2219). I have to say, this is a very confusing one.
Edit: here is the exact error that I get when starting with Pak96 (not loading a game, just after selecting Pak96 from the Pak selector):
FATAL ERROR: dingliste_t::laden()
During loading: Unknown object type '0'
PRESS ANY KEY