[Commits] [wesnoth/wesnoth] e3a059: Use 'faction' and 'gender' attributes to provide d...

GitHub noreply at github.com
Thu Apr 10 20:04:56 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: e3a05974b9fb77fa889fe488f8d86073161295f6
      https://github.com/wesnoth/wesnoth/commit/e3a05974b9fb77fa889fe488f8d86073161295f6
  Author: Andrius Silinskas <silinskas.andrius at gmail.com>
  Date:   2014-04-10 (Thu, 10 Apr 2014)

  Changed paths:
    M src/flg_manager.cpp
    M src/flg_manager.hpp

  Log Message:
  -----------
  Use 'faction' and 'gender' attributes to provide default values in MP Create.

Before this, 'faction' and 'gender' were not used if 'force_lock_settings'
wasn't set to 'yes'. This resulted in inconsistent behaviour between the
mentioned two attributes and 'type' attribute. When 'type' was set, the relevant
leader was always selected by default.

This partially fixes bugs #21753 and #20562. To properly address them, it might
be needed to add 'faction_lock', 'type_lock' and 'gender_lock' attributes so
that UMC authors would have a way to actually lock these selections without
using 'force_lock_settings' if they don't want to.





More information about the Commits mailing list