Follow-up Comment #4, bug #25146 (project wesnoth):

> I can reproduce this if I manually edit a saved game to say campaign_type=""
for the respective line close to the beginning of the file. So it looks like
you have a corrupted save somewhere, which should be easy enough to find. That
would also explain why it does not happen for others. 

Just to be clear, editing a savegame causes a crash in the campaign selection
dialog (i'd think that startign a campaign doesnt require reading any
savefiles)?

> The question then would be how the file got to contain an empty string for
campaign_type.

Hmm it could be that this is some savefile from a very old wesnoth version. In
any cases it makese sense for wesnoth not to crash in this case.
UNfortunuateley i cannot debug this currently, does anyone have a stacktrace
of then the bad_enum_cast is thown ? To get a stacktrace you might want to
comple wesnoth with 'NO_CATCH_AT_GAME_END' defined (or uncomment
https://github.com/wesnoth/wesnoth/blob/1.13.5/src/wesnoth.cpp#L97)

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?25146>

_______________________________________________
  Nachricht gesendet von/durch Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to