Join GitHub today
old replays can cause wesnoth to assert #4180
An old/corrupt replay can cause wesnoth to assert in this code:
It would be nicer to be able to show an error message and return to the main menu or so.
I think switching to throwing an exception may already do most of that and it seems to fit better for something that apparently may actually "normally" occur.
Unfortunately I don't have a replay at hand to test this but maybe @jostephd can provide a link?