[Commits] [wesnoth/wesnoth] 61fab6: fix faction_from_recruit

GitHub noreply at github.com
Sat Jun 20 15:14:13 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 61fab699e59e0b684db0c0bf0812e23458924ce7
      https://github.com/wesnoth/wesnoth/commit/61fab699e59e0b684db0c0bf0812e23458924ce7
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-06-20 (Sat, 20 Jun 2015)

  Changed paths:
    M data/multiplayer/scenarios/4p_A_New_Land.cfg
    M src/game_initialization/connect_engine.cpp
    M src/game_initialization/flg_manager.cpp
    M src/game_initialization/flg_manager.hpp

  Log Message:
  -----------
  fix faction_from_recruit

Previously faction_from_recruit would search for default_recruit= in
[multiplayer_side]. This commit fixes it so that it seached for
'recruit' ('default recruit' is no attribute of [multiplayer_side]).

This fixed behaviour breaks 'A new land' mp scenario becasue the faction
now gets locked to the mp faction that matches the recruits best
(loyalists), but in ANL we wants custon recruitlist and not Loyalists
recruitlist. To Fix this i removed faction_from_recruit= from 'A new
land's sides.





More information about the Commits mailing list