Hi James. Every time you delete a town on this gamesave and you delete either a signalling centre or a station building (which was in the town deleted), the game crashes. Could you look into this for me please?
Save: https://simutrans-germany.com/files/upload/UK2018-2.sve
I am afraid that I am not able to reproduce this. Can I check whether you are using the latest version (i.e. downloaded on the same day as the bug report was posted) and which specific town that you are trying to delete?
A number of towns were been deleted for rebuilding and when like I delete a station building (at Ardley for example) or a signalling centre building. The game crashes.
Thank you for the report: I think that I have now fixed this. I should be grateful if you could check with to-morrow's nightly build and report whether the problem has been resolved.
James: In your fix you remove the test for "if(!welt->is_destroying())" - why? As I understand it, this test is intended to speed up unloading maps (either on exit or on loading a new map), and I currently see no reason for it to have been removed.
This was removed because it duplicated an identical test a few lines up.
Oh, yes. I really should have checked the original file before writing that post, rather than just looking at the diff while waiting for a flight.
Quote from: ACarlotti on August 18, 2018, 09:27:40 PM
Oh, yes. I really should have checked the original file before writing that post, rather than just looking at the diff while waiting for a flight.
Don't worry - that's dedication! I hope that you had a good flight.