Fixed ANL causing the game to end before the start of turn 1...
...when empty sides are specified in the MP game setup - yet another consequence of strict unit unstoring mechanics (From http://forums.wesnoth.org/viewtopic.php?f=4&t=28961)
This commit is contained in:
parent
c0f78dd9b2
commit
a89f55275e
3 changed files with 19 additions and 9 deletions
|
@ -16,6 +16,7 @@ Version 1.7.13+svn:
|
|||
* Fix bug #15383 (Multiplayer Campaigns can't be loaded from savegame)
|
||||
* Fix bug #15391 (Warnings in multiplayer games)
|
||||
* Allow a 1-sides game to be started (Debian bug #568029)
|
||||
* Fixed A New Land not working when there are empty sides
|
||||
* User interface:
|
||||
* Rewrote the sizing code of the tree view widget
|
||||
* Miscellaneous and bug fixes:
|
||||
|
|
|
@ -27,17 +27,25 @@
|
|||
#enddef
|
||||
|
||||
#define SET_NAMES SIDE
|
||||
[store_unit]
|
||||
[filter]
|
||||
[if]
|
||||
[have_unit]
|
||||
side={SIDE}
|
||||
canrecruit=yes
|
||||
[/filter]
|
||||
variable=leader
|
||||
[/store_unit]
|
||||
{VARIABLE player_{SIDE}.name $leader.name}
|
||||
[unstore_unit]
|
||||
variable=leader
|
||||
[/unstore_unit]
|
||||
[/have_unit]
|
||||
[then]
|
||||
[store_unit]
|
||||
[filter]
|
||||
side={SIDE}
|
||||
canrecruit=yes
|
||||
[/filter]
|
||||
variable=leader
|
||||
[/store_unit]
|
||||
{VARIABLE player_{SIDE}.name $leader.name}
|
||||
[unstore_unit]
|
||||
variable=leader
|
||||
[/unstore_unit]
|
||||
[/then]
|
||||
[/if]
|
||||
#enddef
|
||||
|
||||
#define SET_SIDE_VARIABLES SIDE
|
||||
|
|
|
@ -22,6 +22,7 @@ Version 1.7.13-1.8beta6:
|
|||
* Multiplayer:
|
||||
* An early test version of the multiplayer port of "Legend of Wesmere"
|
||||
is available when starting wesnoth with the commandline argument "--debug".
|
||||
* Fixed A New Land not working when there are empty sides
|
||||
|
||||
* User interface:
|
||||
* Fold several player groups by default in the lobby.
|
||||
|
|
Loading…
Add table
Reference in a new issue