[wesnoth-commits] [wesnoth/wesnoth] dcf909: WC2: make carryover compatible with > 3 sides
sevu
noreply at github.com
Fri Oct 22 21:34:43 UTC 2021
Branch: refs/heads/1.16-wc2
Home: https://github.com/wesnoth/wesnoth
Commit: dcf9097c4e8d725581eaedc49ed810b2d35491a4
https://github.com/wesnoth/wesnoth/commit/dcf9097c4e8d725581eaedc49ed810b2d35491a4
Author: Severin Glöckner <severin.gloeckner at stud.htwk-leipzig.de>
Date: 2021-10-22 (Fri, 22 Oct 2021)
Changed paths:
M data/campaigns/World_Conquest/lua/campaign/scenario.lua
Log Message:
-----------
WC2: make carryover compatible with > 3 sides
wml.variables.wc2_player_count is set in a prestart event
this function is used in a recruit event
Thus we can rely on it being set
Commit: e25a4844055a4fde28144cca22bda24094d04af3
https://github.com/wesnoth/wesnoth/commit/e25a4844055a4fde28144cca22bda24094d04af3
Author: Severin Glöckner <severin.gloeckner at stud.htwk-leipzig.de>
Date: 2021-10-22 (Fri, 22 Oct 2021)
Changed paths:
M data/campaigns/World_Conquest/lua/campaign_main.lua
M data/campaigns/World_Conquest/lua/game_mechanics/color.lua
Log Message:
-----------
Make "wc2_fix_colors" work with 4 player sides
This is the only place, where it mattered, that there is no reserved empty side for side 4.
For the dual role of side 4 being either an AI or a player side, it uses a workaround.
Compare: https://github.com/wesnoth/wesnoth/compare/1307eed10086...e25a4844055a
More information about the Commits
mailing list