URL:
  <http://gna.org/bugs/?23399>

                 Summary: Error when starting a campaign after multiplayer.
                 Project: Battle for Wesnoth
            Submitted by: gfgtdf
            Submitted on: Di 17 Mär 2015 22:35:13 UTC
                Category: Bug
                Severity: 5 - Blocker
                Priority: 5 - Normal
              Item Group: Multiplayer
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.13-dev
        Operating System:  

    _______________________________________________________

Details:

If you start the game enter the mp lobby, then go back to titlescreen and
start a sp campaign you'll get an error related to mp eras.

The cause is that the 'default' Era for campaigns is different for Mp and for
Sp: in Mp it is era_default ind in Sp it is era_blank. Since there is no
config reload when leaving the mp lobby, MULTIPLAYER will still be defined
during the campaign selection dialog and the era will default to era_default.
But when starting the campaign MULTIPLAYER wont be defined anymore and
era_default is not accessible anymore, so it gives an error.

I think config reloads are annoying and we should fix this without a config
reload before entering sp campaign selection.
My proposed fix is to make campaigns use era_blank also if MULTIPLAYER is
defined. This also fixes the unwanted {TURNS_OVER_ADVANTAGE} and
{QUICK_4MP_LEADERS} in mp campaigns.





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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