News:

Use the "Forum Search"
It may help you to find anything in the forum ;).

[devel-new-2] Crash when saving after removing a town

Started by Rollmaterial, December 21, 2016, 01:28:14 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rollmaterial

If a town has been removed during the game, saving crashes with weighted_vector_tpl<T>::index_of() - not contained.

jamespetts

I cannot reproduce this error, but I have found and fixed an error relating to deleting cities which might be connected to this. Are you able to re-test?

Rollmaterial

It still occurs. Maybe the town needs to be connected with a stop. Otherwise try with the saved game form my last report about way upgrades.

jamespetts

I am still having trouble reproducing this. Which specific town did you delete? I deleted Kettering without difficulty when saving afterwards.

Rollmaterial


jamespetts


Rollmaterial


jamespetts

Thank you for that. I think that I have now fixed this: would you be able to re-test?