Update of bug #22162 (project wesnoth):

             Assigned to:                    None => thunderstruck          

    _______________________________________________________

Follow-up Comment #2:

I think the no_recruit part of this bug is from a flag of team used only
internally by the FLG manager:

 $ grep "no_recruit" -r src/
src/flg_manager.hpp:    const bool has_no_recruits_;
src/flg_manager.cpp:    has_no_recruits_(
src/flg_manager.cpp:            side_["no_recruit"].to_bool()) &&
src/flg_manager.cpp:                    has_no_recruits_) {
src/flg_manager.cpp:    if ((!side_["faction"].empty() || !has_no_recruits_) &&
faction_lock_) {
src/flg_manager.cpp:            if (!has_no_recruits_) {
src/multiplayer_connect_engine.cpp:             res["no_recruit"] = true;

I don't know what the purpose of this attribute is, but I think either it
should be added to team.cpp in this list:
https://github.com/wesnoth/wesnoth/blob/master/src/team.cpp#L54

and perhaps made accessible to WML / savefiles, or it should be stripped out
of the team config when the mp connect finishes. These little warnings are
somewhat distracting if you are trying to debug something.

I don't know about the persistence part but I'd like to assign this part to
thunderstruck if that's okay.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


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

Reply via email to