Code review comment for lp:~widelands-dev/widelands/bug-1573968-new-map-crash

Revision history for this message
GunChleoc (gunchleoc) wrote :

> Are there no initial data for the editor to which it can be reset before a map
> is loaded or a new map is going to be created? It looks always that there is
> some data from the previous map when creating a new map or loading a map...

There is already a TODO comment in the codebase for that. I am thinking of starting the next release cycle by going through TODO comments to clean stuff up.

I can't reproduce the crash now (maybe it doesn't happen often enough), but I have now added the same fix when loading a map. I think that should take care of it.

« Back to merge proposal