Follow-up Comment #1, bug #9425 (project wesnoth):
Some more research...
In multiplayer_create.cpp (line 109), in create::create the map_options
receives all scenarios except thost with "allow_new_game=no". So the list of
available scenarios is built correctly.
However, it seems the UI event of selecting one scenario from this list
references the complete list of scenarios (all available levels) again to
retrieve the minimaps, all the WML settings and the scenario itself.
This causes the wrong information (minimap etc) to appear when selecting a
scenario that's further down on the list from one of the unlisted scenarios.
I'm not sure where the UI events get handled (so I can't check this
assumption against the code). My suggestion is to not only build a collection
of map_options, but to store a rebuilt collection of levels (including all the
data) in multiplayer_create.cpp, and let the UI events reference that.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?9425>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs